This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Changing Default Linking options...


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]