egcs not automatically linking against libstdc++

Glenn Gebhart
Wed Jun 30 15:43:00 GMT 1999

On 12 Jun 1999, Alexandre Oliva wrote:

> On Jun 12, 1999, Glenn Gebhart <> wrote:
> > No, I already considered that. I neglected to mention that if you
> > explicitly link against libstdc++ via "-lstdc++" the problem goes away.
> Are you really running the `g++' compiler driver, or just `gcc'?  The
> latter won't automatically link with libstdc++, even though it will
> compile C++ code.

I was running gcc. Running g++ seems to have done the trick. Thank you

Glenn Gebhart
HMC CS Staff
"Have I mentioned that I hate computers?"

For PGP public key finger

More information about the Gcc mailing list