Auto-rpath revisited...

H.J. Lu hjl@lucon.org
Sat Feb 21 14:20:00 GMT 1998


> 
> Ian Lance Taylor writes:
> 
> > It's not unusual, because shared libraries are often found in the
> > build directory.
> 
> But not libstdc++, and that's exactly what we're arguing about:
> libraries that are implicitly added by the compiler itself.  When
> you're linking against a libstdc++ that's in a build directory, you'll
> usually add it explicitly, so its path won't be added to rpath, just
> as you want.
> 

Personally, I don't like auto-rpath, especially when I build the
shared libraries and the binaries which use them. It happpens with
many packages, from binutils to X11. I think auto-rpath should only
be enabled if you are 100% sure the directory you find is the
directory used at the runtime.

-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list