Date: Thu, 2 Jan 1997 09:04:06 +0200 (IST) From: Eli Zaretskii To: Nebu John Mathai cc: djgpp AT delorie DOT com Subject: Re: Problem compiling c++ program with djgpp v2.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 1 Jan 1997, Nebu John Mathai wrote: > I got this error during compilation: > > 1.cc(.text+0x1e): undefined reference to `cout' > 1.cc(.text+0x23): undefined reference to `ostream::operator<<(char const *)' This is explained in both the readme.1st file and the FAQ. You need to use gxx instead of gcc to compile C++ programs, like so: gxx -o 1.exe 1.cc