Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 1998 13:09:59 +0100 (MET)
From:      Ryszard Czekaj <rycho@demo.pl>
To:        "Donald J. Maddox" <dmaddox@scsn.net>
Cc:        Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Compiling Linux Source -> Linux Binary on FreeBSD
Message-ID:  <Pine.BSF.3.96.980130130808.19919C-100000@rokita.demo.pl>
In-Reply-To: <19980130070253.54234@scsn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 _    \^/    _




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980130130808.19919C-100000>