From: doodootron AT robotic DOT poopie (Doktor Technologicus) Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie iostream problem (I read the FAQ, I swear) Organization: Lab of Madness Message-ID: <3dac4b82.3937281@netnews.attbi.com> References: <3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com> <3dabc08c DOT 34632388 AT netnews DOT attbi DOT com> <3DABD9A2 DOT 212F9EDF AT phekda DOT freeserve DOT co DOT uk> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 12.228.115.236 X-Complaints-To: abuse AT attbi DOT com X-Trace: rwcrnsc51.ops.asp.att.net 1034701859 12.228.115.236 (Tue, 15 Oct 2002 17:10:59 GMT) NNTP-Posting-Date: Tue, 15 Oct 2002 17:10:59 GMT Date: Tue, 15 Oct 2002 17:10:59 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 15 Oct 2002 10:02:26 +0100, Richard Dawe wrote: >Hello. > >Doktor Technologicus wrote: >> >> On 15 Oct 2002 02:00:34 GMT, "A. Sinan Unur" >> wrote: >[snip] >> >do you use gxx or gcc to compile and link? for C++, you should use gxx. >> >> Both give the same set of errors. > >Try using gpp. > Gpp gives: :1:12: warning: "system" re-asserted :1:13: warning: "system" re-asserted :1:9: warning: "cpu" re-asserted :1:13: warning: "machine" re-asserted :1:9: warning: "cpu" re-asserted :1:13: warning: "machine" re-asserted cpp.exe: -lang-c++: linker input file unused because linking not done c:/djgpp/bin/ld.exe: cannot find -lgcc *sigh*