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: [patch, spu] Update NATIVE_LIB_DIRS to match GCC


Alan Modra wrote:
> On Fri, Nov 14, 2008 at 11:41:38PM +0100, Ulrich Weigand wrote:
> > 	* configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
> 
> OK.  I wonder a little why it was necessary for gcc to disable
> /usr/lib for SPU, but since you've done that for gcc I'm happy for
> binutils to do the same.

Well, the reasoning behind removing /usr/lib was simply that there
generally would be no /usr in the SPU "native" directory structure.
E.g. in our typical setup where the SPU files reside in /usr/spu,
the libraries would be in /usr/spu/lib, not in /usr/spu/usr/lib.
Having the linker look in the latter seems confusing to me ...

In any case, I've checked the patch now in to ensure that binutils
is consistent with GCC in this respect.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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