Date: Thu, 1 Dec 2005 16:23:57 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Javier Matos <javierlu@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: gcc in freebsd to compile linux software Message-ID: <20051201212352.GA6690@xor.obsecurity.org> In-Reply-To: <000601c5f6bb$13551ef0$0301a8c0@mindcrash> References: <000601c5f6bb$13551ef0$0301a8c0@mindcrash>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, Dec 01, 2005 at 10:06:16PM +0100, Javier Matos wrote: > Hi, I need to compile a program to run it in a linux box. > I know that freebsd has linux compatibility with binary files. > > Can I compile using freebsd gcc a binary file that can run under linux and try if it works with freebsd binary linux emulation?? > > If it is possible... what kind of options need I to put when I compile with gcc? No, but if you install a linux_devtools* port you can chroot to /compat/linux and build "as usual" with the linux gcc there. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDj2noWry0BWjoQKURAploAKD4oolKDGT/l6jwP5WGMHEsAVg41wCfTyNo abpCSDdGGRIs9RUz1/tN8oc= =6HBI -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051201212352.GA6690>
