From: "George Xu" Newsgroups: comp.os.msdos.djgpp Subject: djgpp to compile c++ program Date: 7 Jan 1997 19:33:47 GMT Organization: Home Office Lines: 27 Message-ID: <01bbfc6e$f5bfa400$0c412299@ttt> NNTP-Posting-Host: cust12.max9.newark.nj.ms.uu.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi, The Djgpp compiler works for c programs, but doesn't seem to work with c++ programs. I downloaded and installed all the files which are said to be necessary to compile c++ programs. The following is a gcc.log I got, if you have the compiler worked, please help. Thanks in advance, c:/djgpp/tmp\ccdaaaaa(.text+0x1a):ex1.cc: undefined referenced to 'endl(ostream &)' c:/djgpp/tmp\ccdaaaaa(.text+0x24):ex1.cc: undefined referenced to 'cout' c:/djgpp/tmp\ccdaaaaa(.text+0x29):ex1.cc: undefined referenced to 'ostream::operator<<(char const *) ' george gxu AT earthlink DOT net :-)