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: ld fails to look under /usr/$arch-linux-gnu/lib64


Hi Nick,

>>   I have also been trying --with-sysroot option in binutils (2.18 and
>> 2.19) and gcc (4.3), could you give me a hint on how to teach linker
>> to look for
>> /usr/s390-linux-gnu/lib64/libc.so, which it really is there.
> 
> It sounds to me like you either need to extend the spec file used by gcc
> to include the relavent directory, or else define one of the
> MD_STARTFILE_PREFIX_<n> target macros.
> 
> If you want to extend the linker itself, which I do not really
> recommend, then you are going to need to edit the ld/configure.host file
> and add the directory to the definition of HOSTING_LIBS for whichever
> target you are using.


Thank you very much for the tip, I'll try it, after thinking and looking
at this issue with I still have opened, I believe it's my gcc's fault
not ld.

Kind regards


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