Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 14:11:38 -0700
From:      Charles Henrich <henrich@flnet.com>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        Marcel Moolenaar <marcel@scc.nl>, emulation@FreeBSD.ORG
Subject:   Re: Linux Development environtment
Message-ID:  <19990610141137.A16720@orbit.flnet.com>
In-Reply-To: <19990610215854.A87959@cons.org>; from Martin Cracauer on Thu, Jun 10, 1999 at 09:58:54PM %2B0200
References:  <19990604174535.E14176@orbit.flnet.com> <owner-freebsd-emulationATFreeBSD.ORG--375FCBBE.308B7A36@scc.nl> <19990610215854.A87959@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On the subject of Re: Linux Development environtment, Martin Cracauer stated:

> Charles Henrich wrote:
> >  The compilers and linkers insist on referencing the FreeBSD libraries...
> 
> Since FreeBSD is ELF now, you will face the problem that Libraries are
> gotten in roughly this order /comat/linux/usr/lib /usr/lib [without the
> compiler wanting it, the emulator does it] /comat/linux/lib [compiler want
> it] /lib [ harmless ] /comat/linux/usr/local/lib /usr/local/lib [harmful and
> hidden from the compiler again]
> 
> Since libc in in /lib on Linux systems, the FreeBSD libc in /usr/lib is
> found first ==> BOOM.
> 
> To do any Linux crosscompiling with custom libraries on a FreeBSD ELF
> system, the best solution is to symlink all Linux libraries you have into
> the first directory that the compiler searches.
> 
> I sent a longer explanation to -port or -emulation a few months ago. 

It workes jkust great if you change the direct links to relative links and do
nothing else...

-Crh

       Charles Henrich       Manex Visual Effects       henrich@flnet.com

                       http://orbit.flnet.com/~henrich


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990610141137.A16720>