X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: nospam AT none DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc332b broken?? Date: Mon, 3 Nov 2003 20:49:59 +0000 (UTC) Organization: University of California, Berkeley Lines: 59 Sender: Raymond Chi Message-ID: References: NNTP-Posting-Host: soda.csua.berkeley.edu X-Trace: agate.berkeley.edu 1067892599 31800 128.32.112.233 (3 Nov 2003 20:49:59 GMT) X-Complaints-To: usenet AT agate DOT berkeley DOT edu NNTP-Posting-Date: Mon, 3 Nov 2003 20:49:59 +0000 (UTC) User-Agent: tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i386)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrew Cottrell wrote: >>hi, I am encountering a strange problem with the new gpp332b.zip >> >>c:/devtools/djgpp/tmp/ccmZcG4a.o(.eh_frame+0x11):hello.cpp: undefined >>reference to `___gxx_personality_v0' >>collect2: ld returned 1 exit status >> >>i get this with a simple helloworld c++ program. > ..snip.. >>if i rename my helloworld application to a .c filename, then it >>compiles fine. it seems like some problem in the c++ compiling. >> >>has anyone else seen this problem? > In the past I have gotten similar errors when I link C++ objects from > one compiler with another. > Check that you downloaded all the relevant GCC 3.3.2 compiler zip > files. One way of doing this is to check the gcc3*.mft in the manifest > dirrectory and remove the gcc331 (or the previous version) directories > from the lib\gcc-lib\djgpp\3.31 and lang\cxx\3.32 directories. Hi, thanks for the reply. This is a clean install on a system that never had djgpp installed. I downloaded gcc332b.zip and gpp332b.zip, along with the rest of the required zip files, set the environment variables, etc... (this one is XP) it didn't work. c code compiled fine, but c++ code didn't. I nuked the djgppd directory and downloaded the older version, gcc331b and gpp331b.zip, unzipped everything into djgpp, everything worked like it did before. (djgpp is so compact, I always unzip the whole thing and never really 'upgrades')... the tree that I unzip from is: +--v2 | +--copying.dj | +--djdev203.zip | +--faq230b.zip | \--readme.1st +--v2apps | \--rhide15b.zip \--v2gnu +--bnu214b.zip +--bsn135b.zip +--flx254b.zip +--gcc331b.zip +--gdb53b.zip +--gpp331b.zip +--mak3791b.zip \--txi46b.zip This is as clean of an install as one can get. I suspect something is wrong with the gpp332b.zip archive... Raymond