Subject: Why -Wl,-R ?
To: None <>
From: Thomas Klausner <>
List: tech-toolchain
Date: 12/23/1999 01:12:09

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 :-)


Thomas Klausner -
Der Horizont vieler Menschen ist ein Kreis mit Radius Null -- und
das nennen sie ihren Standpunkt. (found on /.)