From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: error whe compile with djgpp Date: Sat, 29 Nov 1997 14:37:00 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 48 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34806EDC.2B001F6@cornell.edu> References: <34803869 DOT 5A39 AT videotron DOT ca> NNTP-Posting-Host: cu-dialup-0024.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rivet-Sabourin wrote: > > Why when compile simple progam like: > > #include > > void main() no. NO. int main. main returns int. > { > cout << "Allo"; > } > > Djgpp return this error: Djgpp is not valid spelling. AFAIK, any one of the following forms is ok: DJGPP, DJgpp, djgpp > > c:\djgpp/tmp\ccdaaaaa(.text+0x16):test.cc: undefined to 'cout' > > c:\djgpp/tmp\ccdaaaaa(.text+0x16):test.cc: undefined to > 'ostream::operator << (char const*)' > > Thank you > Geoffroy read ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st or ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/lisezmoi.1er if you are a french speaker. while you are at it, download and read the FAQ: ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/faq210b.zip or ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/frfaq21b.zip -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/