This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sysroot and lib-path


On Fri, Nov 09, 2018 at 09:55:28AM +0100, Christer Solskogen wrote:
> Okay, but why does it also have
> SEARCH_DIR("=/opt/cross/arm-linux-gnueabihf/lib") then? That doesn't make
> sense, does it?

That's $prefix/$target/lib.  Note that it's inside the sysroot too.
So in your case the host directory searched would be
/opt/cross/sysroot.arm-linux-gnueabihf/opt/cross/arm-linux-gnueabihf/lib

$prefix/$target was an idea that predated sysroot for a place to put
target and tool specific info.  You might see that directory
referred to as tooldir.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]