Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Dan, Ho Jin" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: [Q] c++ library error... Date: Tue, 28 Apr 1998 20:37:15 -0700 Message-ID: <19980429033703.AAC3301@ppp104.cartsys.com> Precedence: bulk At 01:09 4/28/1998 +0900, Dan, Ho Jin wrote: >when i compiled a simple c++ program with djgpp, i got the error >messages such that > >C:\lang\djgpp\work>gcc -lgpp minprint.cpp >c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1c4):minprint.cc: undefined reference > >to `endl(ostream &)' >c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1cd):minprint.cc: undefined reference > >to `cout' >c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1d2):minprint.cc: undefined reference > >to `ostream::operator<<(int)' >c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1dd):minprint.cc: undefined reference > >to `ostream::operator<<(ostream &(*)(ostream ))' > >C:\lang\djgpp\work> > >i tried compiling with several options, but i always had such >messages... Try `gxx minprint.cpp'. Nate Eldredge nate AT cartsys DOT com