Auto-rpath revisited...

Richard Henderson rth@cygnus.com
Mon Feb 23 17:13:00 GMT 1998


On Mon, Feb 23, 1998 at 04:50:10PM -0800, H.J. Lu wrote:
> 1. g++/c++ passes "--try-rpath installed_libdir" to collect2.
> 2. collect adds -rpath installed_libdir to ld if installed_libdir if
>    it is used by ld for libstdc++.so.

This doesn't sound quite as bad, if you expand it to maybe

	--try-rpath libstdc++.so=/some/path/here
	--try-rpath libf2c.so=/some/other/path/here

ie very directed searching.  You should still be able to
turn it off from the g++ command line, and -nostdlibs should
remember to turn it off as well.


r~



More information about the Gcc mailing list