Date: Fri, 17 Aug 2001 14:22:38 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Christopher all Message-Id: <3028-Fri17Aug2001142238+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3B7CEDE9.17D0DCC9@hotmsil.com> (message from Christopher all on Fri, 17 Aug 2001 10:17:38 GMT) Subject: Re: Problem compiling c++ References: <3B7CEDE9 DOT 17D0DCC9 AT hotmsil DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Christopher all > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 17 Aug 2001 10:17:38 GMT > > I tried " gcc a.cpp " > > C:\WINDOWS\Desktop>gcc a.cpp > c:/djgpp/tmp\ccSSI7E3.o(.text+0x27):a.cpp: undefined reference to `cout' Use gpp instead of gcc. > C:\WINDOWS\Desktop>gcc a.cpp -lstdcpp > c:/djgpp/bin/ld.exe: cannot open -lstdcpp: No such file or directory > (ENOENT) That should have been "gcc a.cpp -lstdcxx". You _are_ aware that all this is already covered in the DJGPP FAQ list, yes?