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: Linker script and dependency search path


On Wednesday 19 May 2010 03:14:53 Ludovic CourtÃs wrote:
> Adding -L/path/to/libc, or LIBRARY_PATH=/path/to/libc, or adding
> /path/to/libc to the RUNPATH of libc.so.0* doesnât solve the problem
> (libhurduser and libmachuser are in the same directory as libc.so.)

are you not using sysroots ?

> So, is ld supposed to honor RUNPATH from libc.so.0*, given that this
> shared library is only referenced from a âGROUPâ command in libc.so?
> What are the search paths used for dependencies of shared libraries
> mentioned in a âGROUPâ command?

i dont think so.  if you didnt want to use sysroots for some weird reason, an 
alternative might be to use the full path in the linker script.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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