From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: GNU C/C++ Compiler Date: 18 Jun 1999 11:14:44 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 23 Message-ID: <7kd9n4$14e$2@antares.lu.erisoft.se> References: <001301beb773$f63ae710$0101a8c0 AT jupiter> NNTP-Posting-Host: mars.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com =?iso-8859-1?Q?Patrizio_Collov=E0?= (opensoft AT dial DOT eunet DOT ch) wrote: : COMPILER OUTPUT: : F:\fsf>gcc -o hello hello.cpp : c:/ccdaaaaa(.text+0x26):hello.cc: undefined reference to `endl(ostream = : &)' : c:/ccdaaaaa(.text+0x30):hello.cc: undefined reference to `cout' : c:/ccdaaaaa(.text+0x35):hello.cc: undefined reference to = : `ostream::operator<<(c : ar const *)' : c:/ccdaaaaa(.text+0x40):hello.cc: undefined reference to = : `ostream::operator<<(o : tream &(*)(ostream &))' When compiling C++ use "g++" or "gxx". Read the README.1ST file. You'd benefit from reading the FAQ too. Please don't post html. Right, MartinS