From owner-freebsd-questions Fri Jan 30 04:10:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA16753 for questions-outgoing; Fri, 30 Jan 1998 04:10:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rokita.demo.pl (rokita.demo.pl [195.136.39.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA16709 for ; Fri, 30 Jan 1998 04:10:21 -0800 (PST) (envelope-from rycho@demo.pl) Received: from localhost (rycho@localhost) by rokita.demo.pl (8.8.8/8.7.3) with SMTP id NAA19969; Fri, 30 Jan 1998 13:09:59 +0100 (MET) Date: Fri, 30 Jan 1998 13:09:59 +0100 (MET) From: Ryszard Czekaj To: "Donald J. Maddox" cc: Questions Subject: Re: Compiling Linux Source -> Linux Binary on FreeBSD In-Reply-To: <19980130070253.54234@scsn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Fri, 30 Jan 1998, Donald J. Maddox wrote: > 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. > What syntax is for compiling with intalled linux_devel port? -- Admin. | RYCHo Ryszard Czekaj /"\___/"\ D_E M_O-+- mailto:RYCHo@irc.pl | | /| ) |_) | http://demo.pl/~rycho /pgp 19AF13A0F075B355 _ * - _ | (/(__/(/ Powered by http://www.FreeBSD.org bofh _ \^/ _