delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/10/31/19:30:24

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: gcc332b broken??
Date: Sat, 1 Nov 2003 00:28:59 +0000 (UTC)
Organization: University of California, Berkeley
Lines: 26
Sender: Raymond Chi <chiry AT soda DOT csua DOT berkeley DOT edu>
Message-ID: <bnuuob$2rbj$1@agate.berkeley.edu>
NNTP-Posting-Host: soda.csua.berkeley.edu
X-Trace: agate.berkeley.edu 1067646539 93555 128.32.112.233 (1 Nov 2003 00:28:59 GMT)
X-Complaints-To: usenet AT agate DOT berkeley DOT edu
NNTP-Posting-Date: Sat, 1 Nov 2003 00:28: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

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.

#include <stdio.h>

int main(int argc, char * argv[])
{
        printf("hello, world.\n");
}

i just downloaded djgpp and installed on this machine. i have a
version i downloaded a few weeks ago at home and it works fine.

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?

Thanks.

Raymond

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019