Mail Archives: djgpp/2003/11/03/16:00:47
Andrew Cottrell <spam AT bigpond DOT com DOT au> 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
- Raw text -