Sender: nate AT cartsys DOT com Message-ID: <35FAD5C8.EF0CB6ED@cartsys.com> Date: Sat, 12 Sep 1998 13:12:56 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Darian Linehan CC: djgpp AT delorie DOT com Subject: Re: Error References: <35f8eaaa DOT 4068244 AT news DOT cableinet DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Darian Linehan wrote: > > Hi, I have just downloaded and installed DGJPP. Every time I try and > compile a program (the basic "Hello World!" prog) > I get the following error: > > c:/utils/dgjpp/tmp\cccqedcf(.text+0x19):hello.cpp: undefined reference > to `cout' > c:/utils/dgjpp/tmp\cccqedcf(.text+0x1e):hello.cpp: undefined reference > to `ostream::operator<<(char const *)' When linking C++, you should use `gpp' instead of `gcc'. README.1ST discusses this. -- Nate Eldredge nate AT cartsys DOT com