This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Default linker library search paths
- From: Michael Morrell <morrell at alumni dot ucsd dot edu>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sourceware dot org
- Date: Tue, 29 Sep 2009 12:24:05 -0700 (PDT)
- Subject: Re: Default linker library search paths
- Reply-to: morrell at alumni dot ucsd dot edu
> It shouldn't if binutils has been correctly
> configured.? For example,
> a ld targetting powerpc-linux but running on an i868-linux
> host will
> only search /usr/local/powerpc-linux/lib (assuming --prefix
> was
> /usr/local).
That won't work for us because the cross paths are different for each
user (under their own development area).
> You can also configure binutils with a
> sysroot, in which
> case a cross ld has the same paths as a native one except
> that
> everything is searched relative to the sysroot.
If this was the case, would that be reflected in the script the --verbose
generates or would it show the native paths (in which case, how can I
find out if sysroot was specified and to what value?)?
Michael