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: Default linker library search paths


On Mon, Sep 28, 2009 at 04:00:15PM -0700, Michael Morrell wrote:
> When I run "ld --verbose" with this linker, and grep for SEARCH_DIR, I
> get:
> 
> SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
> 
> So, it looks like it will search the host in places that make sense for
> a native linker, but not a cross linker.

No, the "=" means these directories will be searched inside a target
sysroot, relocatable with the --sysroot option.  How was your linker configured?

> Do you know if it checks the
> architecture at all?

Yes.  Do you have evidence of some problem?

-- 
Daniel Jacobowitz
CodeSourcery


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