From: "Chiew Heng Wah" Newsgroups: comp.os.msdos.djgpp References: <199912030135 DOT UAA16033 AT delorie DOT com> Subject: Re: Newbie: C++ compiling Date: Fri, 3 Dec 1999 19:53:47 +0800 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: sal-217-250.tm.net.my X-NNTP-Posting-Host: sal-217-250.tm.net.my Message-ID: <3847ac81.0@news.tm.net.my> X-Trace: 3 Dec 1999 19:41:53 +0800, sal-217-250.tm.net.my Organization: TMnet Malaysia To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJGPP. I assumed that the gcc would be able to detect the difference and compile & link for different types of C or C++. Turns out I need to use %gxx hello.cpp instead. Thanks for your suggestions though. Heng Wah.