www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/01/03:15:08

Date: Sun, 1 Sep 1996 10:08:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: MIKEJAEKEL <mikejaekel AT aol DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Errors with C++ Library
In-Reply-To: <50abd6$994@newsbf02.news.aol.com>
Message-Id: <Pine.SUN.3.91.960901100432.21735C-100000@is>
Mime-Version: 1.0

On 31 Aug 1996, MIKEJAEKEL wrote:

> Here is the output:
> //test.cc(.text+0x22): undefined referenz to 'cout'
> //test.cc(.text+0x27): undefined referenz to 'ostream::operator<<char
> const *)'

You probably didn't put C++ libraries on the GCC command line.  Try this:

	gxx -o test.exe test.cc -lstdcx

> Where will I found additional informations for future
> problems?

Why, in the FAQ of course!  Download the file v2/faq201b.zip from the 
same place you get DJGPP and browse it any time you have problems (the 
above problem is explained in section 8.7 of the FAQ).

- Raw text -


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