This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Should gcc add RPATH for libstdc++.so?


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          


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]