Date: Thu, 29 Jan 1998 21:37:45 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: KrOnUs <kronus@null.net> Cc: Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Compiling Linux Source -> Linux Binary on FreeBSD Message-ID: <Pine.BSF.3.96.980129213704.1248n-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.95q.980129143756.12066A-100000@millennium.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980129213704.1248n-100000>