Xref: news-dnh.mv.net comp.os.msdos.djgpp:396 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!news.alpha.net!news.mathworks.com!usenet.eel.ufl.edu!brutus.bright.net!infoserv.illinois.net!madison.tdsnet.com!gail.ripco.com!mambuhl From: mambuhl AT ripco DOT com (Martin Ambuhl) Subject: GCC and C++ --- undefined Sender: usenet AT rci DOT ripco DOT com (Net News Admin) Organization: Ripco Internet BBS Chicago Date: Thu, 15 Jun 1995 21:56:35 GMT Lines: 16 To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp tom AT rs5 DOT tcs DOT tulane DOT edu (Tom Gerace) in <3rhfk1$akc AT rs10 DOT tcs DOT tulane DOT edu> asks: >Please help me with this one... I've got all of the parts of DJGPP >installed for C and C++ (all the libraries and docs included). Compiling >and running C programs works great. When I compile a C++ program, I get >"undefined reference to 'cout'". My environment is set up the way the >docs and the FAQ says it should be, and I've even tried explicityly >specifying libraries to link in, all with no good result. did you specify -lgpp ? That (or -liostream) should do the job. -- * Martin Ambuhl net: mambuhl AT ripco DOT com * Chicago, IL (USA) martin DOT ambuhl AT chessboard DOT com