--with-sysroot=/ linker search path

Alan Modra amodra@gmail.com
Wed Sep 4 23:48:00 GMT 2013


On Wed, Sep 04, 2013 at 05:36:19PM -0400, Hans-Peter Nilsson wrote:
> So cross targets lose $tooldir/lib?

Yes.

> $tooldir/lib is where all
> libraries and objects are installed for my non-sysrooted cross
> builds (actually, that's what I hoped we could make the default
> for builds without --with-sysroot some time in the future),

How ever does that work?  I mean, given an x86_64-linux host with
default configured binutils, the directory we're taking about is
/usr/local/x86_64-linux-gnu/lib, and you would have this used by
any cross target?  What if I want both arm and powerpc cross support?
I can't put both arm and powerpc libs in the same dir!

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list