X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Steve W." Newsgroups: comp.os.msdos.djgpp References: <5pscv01amdss7u516arl92qlfaasu4ag80 AT 4ax DOT com> Subject: Re: strange error from compiling Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: X-Complaints-To: abuse AT usenetserver DOT com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Tue, 25 Jan 2005 12:18:19 EST Date: Tue, 25 Jan 2005 12:20:24 -0500 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks Raymond its working now. "Raymond Martineau" wrote in message news:5pscv01amdss7u516arl92qlfaasu4ag80 AT 4ax DOT com... > On Tue, 25 Jan 2005 11:16:42 -0500, "Steve W." > wrote: > > >I am very new to this compiler. > >After comiling a program I try to get a executable. I get an message as > >follows: > > > >I compile ok: > >C:\djgpp>gcc -c JanTesta.cpp > > > > gcc is the C compiler. > > It's recommended to use gpp instead (g++ under Linux), as that includes the > C++ libraries in the binary linkage. > > >I get this message. > >c:/djgpp/tmp/cciOl7Fv.o(.eh_frame+0x11):JanTesta.cpp: undefined reference to > >`__ > >_gxx_personality_v0' > > That's what happend if you use the C compiler instead of the CPP compiler. >