> > It's not very nice that the shared library list for libstdc++.sl
> > includes libgcc_s.sl in the GCC build directory.  I believe that the
> > HP dynamic loader first looks for it there.  If that doesn't work,
> > it strips off the basename of the library and tries the dynamic
> > search path.
> 
> Yeah, I had to fix that problem first by going into the libstdc++ dir, and
> doing a "make clean ; make LDFLAGS=-Wl,+s"
> 
> Wouldn't it make sense to do this by default?  Should I submit a patch to
> do that?

This is mainly a libtool issue.  That's where the '+b" embedded path
option is set.  I'm not sure why +b was preferred to +s.

There are pros and cons to this.  Generally, it's not a good idea
to add unnecessary options, especially if the user can add them when
desired.

Dave
-- 
J. David Anglin                                  [EMAIL PROTECTED]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Reply via email to