This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs not automatically linking against libstdc++
- To: egcs mailing list <egcs at egcs dot cygnus dot com>
- Subject: Re: egcs not automatically linking against libstdc++
- From: Glenn Gebhart <glenn at cs dot hmc dot edu>
- Date: Sat, 12 Jun 1999 21:40:52 -0700 (PDT)
On 12 Jun 1999, Alexandre Oliva wrote:
> On Jun 12, 1999, Glenn Gebhart <glenn@cs.hmc.edu> 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
muchly.
-------------------------------------------------------------------------------
Glenn Gebhart
http://www.cs.hmc.edu/~glenn
HMC CS Staff
"Have I mentioned that I hate computers?"
For PGP public key finger glenn@turing.cs.hmc.edu