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]
Other format: [Raw text]

Re: Path to libstdc++


On Mar 25, 2002, Allan Sandfeld Jensen <snowwolf@one2one-networks.com> wrote:

> it used to also put a -Wl,-rpath,$LIBSTDC++-PATH or 
> equivalent, but this has disappeared recently in current-cvs. 

Not true.  GCC never ever did this, on any platform, and my attempts
to get it to do so have always been overruled.

What I do myself is to tweak the gcc linker specs file such that it
adds the flag for me.  Works fine except on platforms that require
library search paths to be passed as a single colon-separated
argument.  And it also modifies the behavior of the linker, because
then it never gets to see LD_RUN_PATH or equivalent.

> Does anyone have an idea, where this bug have crept in?

It has certainly become more noticeable after libstdc++ became a
shared library by default.  Earlier, you had to configure
--enable-shared to get it as a shared library.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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