Date: Fri, 30 Jan 1998 07:02:53 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Doug White <dwhite@resnet.uoregon.edu>, KrOnUs <kronus@null.net> Cc: Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Compiling Linux Source -> Linux Binary on FreeBSD Message-ID: <19980130070253.54234@scsn.net> In-Reply-To: <Pine.BSF.3.96.980129213704.1248n-100000@gdi.uoregon.edu>; from Doug White on Thu, Jan 29, 1998 at 09:37:45PM -0800 References: <Pine.BSF.3.95q.980129143756.12066A-100000@millennium.net> <Pine.BSF.3.96.980129213704.1248n-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 29, 1998 at 09:37:45PM -0800, Doug White wrote: > On Thu, 29 Jan 1998, KrOnUs wrote: > > > > > Hi all.. > > > > Is it possible to compile linux source code into a linux binary > > so that it will run under the linux emulator under FreeBSD? > > > > I presume I've have to rip the include's etc. off of an existing linux box > > and transfer them over to the BSD box but is there an easy way to do this? > > (i.e making gcc look at the linux includes instead of the native > > includes). > > What? > > AFAIK there are no Linux cross-compilers for FreeBSD. Just build the > desired bits on the linux machine, copy over to the FreeBSD machine, load > the linuxulator, run brandelf -t Linux binary if you need to, and have > fun. This is what the linux_devel port is for. I build Linux binaries all the time on FreeBSD.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980130070253.54234>