delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/14/06:24:36

Date: Tue, 14 Sep 1999 11:09:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Lori Brynlund <brynlund AT cadvision DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Problem with 'cout'
In-Reply-To: <000801befe68$8d9d4220$e58194cf@wsc.nt.com>
Message-ID: <Pine.SUN.3.91.990914110714.17516S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 13 Sep 1999, Lori Brynlund wrote:

>     undefined reference to 'cout'
>     undefined reference to 'ostream::operator<<(char const *)'
> 
> How do I fix this?
> 
> I have read through the FAQ and online documentation and couldn't seem =
> to find any info about this.

Section 8.7 covers this problem: you need to use gxx or gpp instead of 
gcc to compile C++ programs.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019