This is the mail archive of the binutils@sources.redhat.com 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's RPATH versus gcc's


Chris McCraw <fool@cs.utexas.edu> writes:

> i think there is a third vector for RPATH entries--adding "-v -Wl,--verbose"
> to the LDFLAGS shows the following output.  note particularly the line
> with SEARCH_DIR.

This is the link-time library search path, which you can extend with -L.
It's coming from the default linker script, which is usually compiled in,
but also installed in $datadir/ldscripts.  This search path does not
contribute to the runtime search path by itself.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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