On 2005-04-02, djaba wrote:
> Hi there!
> I have a large collection of linux libraries that I must work with,
> and before attempting to recompile them all for FreeBSD (huge work,
> definately not straightforward), I was wondering if I could perform
> one of the following:
> - compile my program natively to FreeBSD but linking to all these
> linux compiled libraries (seems harder)
No.
> - compile my program for linux and run it through the compatibility
> layer (seems easier)
Yes. Install the relevant linux_devtools port, which will give you a
basic compiler toolchain and some other support tools. You can then
e.g. chroot /compat/linux /bin/bash and compile things there as you
would on a Linux system.
Kris
>> Stay informed about: Linking code with linux libraries