delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/23/22:39:15

Date: Mon, 23 Dec 1996 22:20:06 -0500
Message-Id: <199612240320.WAA29111@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: jeffbis AT primenet DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <ZxzvygHklKcZ092yn@primenet.com> (jeffbis@primenet.com)
Subject: Re: cout errors, why?

> c:/djgpp/tmp\ccdaaaaa(.text+0x1a):test.cc: undefined reference to `cout'
> c:/djgpp/tmp\ccdaaaaa(.text+0x1f):test.cc: undefined reference to `ostream::operator<<(char const *)'

This is a FAQ.  Add -lstdcxx to the end of your gcc command line.

- Raw text -


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