From: "Daniel Noorduin" Newsgroups: comp.os.msdos.djgpp References: <3d38af6e$0$32644$9b622d9e AT news DOT freenet DOT de> <3d3aa2f2$0$15186$9b622d9e AT news DOT freenet DOT de> <3405-Sun21Jul2002180755+0300-eliz AT is DOT elta DOT co DOT il> <3D3AFDD3 DOT 795743F6 AT phekda DOT freeserve DOT co DOT uk> Subject: Re: Installation Problem Lines: 58 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <2SF_8.989697$yP6.31789168@Flipper> Date: Sun, 21 Jul 2002 21:39:10 GMT NNTP-Posting-Host: 212.187.58.222 X-Complaints-To: abuse AT chello DOT nl X-Trace: Flipper 1027287550 212.187.58.222 (Sun, 21 Jul 2002 23:39:10 MET DST) NNTP-Posting-Date: Sun, 21 Jul 2002 23:39:10 MET DST Organization: Chello Broadband To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Richard Dawe" wrote in message news:3D3AFDD3 DOT 795743F6 AT phekda DOT freeserve DOT co DOT uk... > Hello. > > Daniel Noorduin wrote: > > I already did. I removed those three lines and deleted rsxnt completely and > > it got rid of some of the errors, but for some odd reason I still can't > > compile a simple C++ ' Hello World' program (While it does compile C > > programs). Here's what i get when i use the -v command: > > You're getting closer! > > [snip] > > c:/djgpp/lib/gcc-lib/djgpp/3.1/collect2.exe -o blah.exe > > c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.1 -Lc:/djg > > pp/bin -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.1/../../.. > > c:/djgpp/tmp/cc5FwdEU.o -lgcc -lc -lgcc -Tdjgpp-x.djl > [snip] > > c:/djgpp/tmp/cc5FwdEU.o(.eh_frame+0x11):blah.cc: undefined reference to > > `___gxx_personality_v0' > > collect2: ld returned 1 exit status > > My guess is that you're trying to compile & link your C++ program using "gcc" > instead of "gpp". You need to use gpp, so that the standard C++ library is > linked in. Try something like this: > > gpp -g -Wall -o foo foo.cpp > > Hope that helps, regards, > > -- > Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ] Oops.. You're right. I was using the wrong command. Compiling from the DOS command line works fine now, but Rhide keeps giving me error messages when trying to compile C++ programs. It doesn't seem to recognize the standard libraries or just cannot find them. I get the following errors: Error: gcc.exe: Blah.o: No such file or directory (ENOENT) (with the first line "#include" highlighted) either that one or: C:/djgpp/lang/cxx-v31/backward/iostream.h(31) In file included from C:/djgpp/lang/cxx-v31/backward/iostream.h:31 C:/djgpp/lang/cxx-v31/backward/backward_warning.h(32) Error: 2: warning This file includes at least one antiquated header.... etc. To disable this warning use -Wno-deprecated. Sorry for terrorizing this newsgroup with dumb newbie questions, but i'm getting desperate.