ftp.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "Rod Pemberton" <do_not_have AT bitfoad DOT cmm> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: undefined reference |
Date: | Wed, 12 Jul 2006 06:48:52 -0400 |
Organization: | Aioe.org NNTP Server |
Lines: | 24 |
Message-ID: | <e92k13$bpb$1@emma.aioe.org> |
References: | <1152663563 DOT 566365 DOT 26490 AT i42g2000cwa DOT googlegroups DOT com> <200607120034 DOT k6C0YMxe009932 AT envy DOT delorie DOT com> <44b4be6e$0$493$cc7c7865 AT news DOT luth DOT se> |
NNTP-Posting-Host: | pCFjXAYAthfOLF6YhIh1ZA.user.aioe.org |
X-Complaints-To: | abuse AT aioe DOT org |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1441 |
X-Priority: | 3 |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1437 |
X-MSMail-Priority: | Normal |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Martin Str|mberg" <ams AT speedy DOT ludd DOT ltu DOT se> wrote in message news:44b4be6e$0$493$cc7c7865 AT news DOT luth DOT se... > DJ Delorie <dj AT delorie DOT com> wrote: > > >> G:\TEMP/cc5nUebF.o(.eh_frame+0x11):HELLO2.C: undefined reference to > >> `___gxx_personality_v0' > >> collect2: ld returned 1 exit status > > > Did you compile with gcc (the C compiler) or gxx/g++ (the C++ compiler) ? > > Wouldn't that filename make even gcc to compile it as C++. > > You need to name your C files so they end with a "c" (not "C"). What if he's using an 8.3 MS-DOS? (all capitals, no lowercase...) Were you joking? Rod Pemberton
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |