add -R to specs file. how?

Christian Roessel roessel@zpr.uni-koeln.de
Fri Oct 1 00:00:00 GMT 1999


Hi, Masters of the specs syntax,
I want to add a -R option to the specs file, so that the
runtime-linker can find the libstdc++.so. According to the
gcc FAQ its possible to add this option to the *link or *lib
specs, but which one and how? (I'm using the Solaris(2.7)
linker)
I added %{-R dir_to_libstdc++} to both with no success.
The thing that works is to compile explicitely with "-R
dir_to_libstdc++", but I want to do this automatically and I
don't want to use a wrapper-script.

Any help appreciated. Thanks
Christian
--
Christian Roessel
Center for Parallel Computing
University of Cologne
roessel@zpr.uni-koeln.de



More information about the Gcc-help mailing list