Subject: Why -Wl,-R ?
To: None <tech-toolchain@netbsd.org>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: tech-toolchain
Date: 12/23/1999 01:12:09
Hi!
I was wondering why, when linking on an ELF-system, I have to add both
the -L/path and -Wl,-R/path to the linker's commandline. In the
linking step it has to find the library anyway, so the linker could
just add the directory where it found the library to the executables
internal search path -- or what am I missing?
Please CC: me in any answers, since this list is one of the few netbsd
lists I haven't yet subscribed too :-)
Bye,
Thomas
--
Thomas Klausner - wiz@danbala.tuwien.ac.at
WWW-homepage: http://fbma.tuwien.ac.at/~e9325658/Welcome.html
Der Horizont vieler Menschen ist ein Kreis mit Radius Null -- und
das nennen sie ihren Standpunkt. (found on /.)