gcc in freebsd to compile linux software
kris at obsecurity.org
Thu Dec 1 13:24:20 PST 2005
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051201/9c46cde9/attachment.bin
More information about the freebsd-questions