This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Changing Default Linking options...
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: Changing Default Linking options...
- From: Sean R Melody <srm765 at merle dot acns dot nwu dot edu>
- Date: Sat, 12 Jun 1999 18:10:52 -0500 (CDT)
- cc: egcs at egcs dot cygnus dot com
On 12 Jun 1999, Alexandre Oliva wrote:
> On Jun 12, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
>
> > On Jun 12, 1999, Sean R Melody <srm765@merle.acns.nwu.edu> wrote:
> >> I recently upgraded my egcs when I installed redhat 6.0 and ever since
> >> then, libstdc++ is not being linked into my c++ programs.
>
> > egcs doesn't link with libstdc++, only eg++ does.
> ^ I mean `g++' here
>
Perhaps I should clarify this further. If I g++ helloworld.cc, it will
compile and link, but if you run it, it will segfault. If I use ldd to
check what libraries it is linked against, it does not include libstdc++.
The problem, it would appear, is different than Glenn Gebhart's problem.
Just FYI...