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: Subject: How to compile a C++ file with gcc From: Varuna Seneviratna To: djgpp AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 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