Date: Thu, 3 Oct 1996 11:11:20 +0200 (IST) From: Eli Zaretskii To: Dragon Slayer Cc: djgpp AT delorie DOT com Subject: Re: cout In-Reply-To: <3250D3BB.5856@ix.netcom.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 1 Oct 1996, Dragon Slayer wrote: > when I compile this using: > > gcc a.C or gcc a.cpp (have also tried gcc -o out a.C etc..) > > it gives me this error message: > > undefined reference to 'cout' > undefined reference to 'ostream::operator<<(char const *)' Use `gxx' instead of `gcc', it knows about C++-specific libraries: gxx a.C