delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/10/31/03:49:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:received:date:message-id
:subject:from:to:content-type;
bh=mUekT0dtdV4GsBBfVBBxii7HdNf0S8Q8g91cNnjsffM=;
b=mmaFHWomxiHaPs3hisLSDgObboR+jblovwsjxI6FiUccIUUuvTvMT79ZA+KBU8uJm3
RBx2SmavMt709ttnBiggMdWUCWKus/5X0qoIjnqXE2HBh9NyjgTmTbaeWlnHR3oyz8np
d1SNu4s8gAL5JVXM+yNesTUR71iCnQVfeeFzk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=cmElf6NNZS/KbPB4kGBoDAx9QJJ+J2wQoe/lc7AUJxYxWu+j6NbsuBcbxLGsR/jbli
dU59RLtFKNkOuLY1edMmdyM/f9DEzLz7P/kHL3Bd37PSD/xcJ98T6Clpk+CwWUYCfDzm
m4cAr9B+QtwqD1tu09E4LCREdzfqt7mBHd7EI=
MIME-Version: 1.0
Date: Sun, 31 Oct 2010 12:54:59 +0530
Message-ID: <AANLkTi=h6i47MWpBFAzu8CVpX0zzNFnJNXZkMyuqWVEJ@mail.gmail.com>
Subject: How to compile a C++ file with gcc
From: Varuna Seneviratna <djgpp DOT info AT gmail DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

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

VS

- Raw text -


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