Subject: Re: Short 'gnu/dist/toolchain' guide anywhere
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 08/02/2001 10:23:39
On Thu, 2 Aug 2001, Markus W Kilbinger wrote:

:     Todd> "Try it out."
:
: I did. Seems to work, got a working toolchain in /usr/local/bin which
: always uses -L/usr/local/lib for linking binaries (bug or feature?).

This is a `feature' of *both* `gcc' and the binutils `ld', which I've
protested on several occasions.  It's unlikely to be changed in an
out-of-the-box toolchain build.

An in-tree toolchain build overrides this with just /usr/lib, however.

: Anyway: When using this toolchain for compiling NetBSD userland
: /usr/local/lib/libintl.so.1 is referenced but not found during runtime
: of several binaries (e. g. grep). How to solve this?

Nuke the version in /usr/local/lib, if possible.  If not, make sure
src/lib/libintl is installed, and build `src' with DESTDIR=/ (will set
-nostdlib and other things which should turn off this behavior).

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/