egcs not automatically linking against libstdc++

Glenn Gebhart glenn@cs.hmc.edu
Sat Jun 12 13:52:00 GMT 1999


On Sat, 12 Jun 1999, Benjamin Scherrey wrote:

> Did a sysadmin decide to rewrite your LD_LIBRARY_PATH for you without
> telling anyone? I've had this happen to me before. Is libstdc++ the
> only library that doesn't link or is that just the first one it gets
> to thus failing before other missing symbols are discovered? The only
> other think I'd consider is whether you did a "configure
> --enable-shared" when you rebuilt so that your shared library support
> got created.

No, I already considered that. I neglected to mention that if you
explicitly link against libstdc++ via "-lstdc++" the problem goes away.

-------------------------------------------------------------------------------
Glenn Gebhart, HMC CS Staff
http://www.cs.hmc.edu/~glenn
For PGP public key finger glenn@turing.cs.hmc.edu



More information about the Gcc mailing list