This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Should gcc add RPATH for libstdc++.so?
- To: gcc at gcc dot gnu dot org
- Subject: Should gcc add RPATH for libstdc++.so?
- From: Craig Rodrigues <rodrigc at mediaone dot net>
- Date: Wed, 21 Mar 2001 00:11:40 -0500
Hi,
I read the following entry in GNATS:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2242&database=gcc
The submitter suggested that gcc should add the flag
-Wl,-rpath,[path to libstdc++.so] when it compiles something.
Does this idea have merit?
I think it is not a bad idea. For example, when I compile
CodeSourcery snapshots of gcc from their source rpm,
gcc fails to add /usr/local/lib to the RPATH of executables
it creates, requiring me to set the LD_LIBRARY_PATH environment variable.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net