delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/10/31/04:45:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to compile a C++ file with gcc
Date: Sun, 31 Oct 2010 01:23:25 -0700 (PDT)
Organization: http://groups.google.com
Lines: 13
Message-ID: <ef30db12-b859-41fd-a227-93245833ce47@26g2000yqv.googlegroups.com>
References: <AANLkTi=h6i47MWpBFAzu8CVpX0zzNFnJNXZkMyuqWVEJ AT mail DOT gmail DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1288513405 14484 127.0.0.1 (31 Oct 2010 08:23:25 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 31 Oct 2010 08:23:25 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: 26g2000yqv.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7,gzip(gfe)
Bytes: 1699
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, try "gpp" instead.

On Oct 31, 2:24=A0am, Varuna Seneviratna <djgpp DOT i DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> When I compiled first.cc with gcc the output I got was as follows.Is
> there a way to compile C++ programs.According to the readme1st file I
> haven't found a way .Can anybody advice me on this please
>
> > C:\thkinc>gcc first.cc -o first.exe
> > c:/djgpp/tmp/ccYfbXk1.o:first.cc:(.eh_frame+0x11): undefined reference =
to `___gx
> > x_personality_v0'
> > collect2: ld returned 1 exit status

- Raw text -


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