gcc in freebsd to compile linux software
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? Thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc in freebsd to compile linux software
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 pgpvkvZ72E2w3.pgp Description: PGP signature