delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/09/09:45:08

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Thu, 9 Sep 1999 09:40:17 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Josh Reed <obitus AT uswest DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP 2.81
In-Reply-To: <37D7162D.40C8ED7D@uswest.net>
Message-ID: <Pine.A41.4.05.9909090936040.74676-100000@ieva01.lanet.lv>
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 Wed, 8 Sep 1999, Josh Reed wrote:

> Thank you.  I downloaded version 2.95 but am having trouble getting it to
> compile a simple c++ program. The program includes a cout << "Something
> here"; and when I compile it, it says something along the line of invalid
> reference to cout.  I included the iostream.h header file and when I used
> the -liostream switch, it gives me a ld.exe: iostream not found.
> 
> I appreciate ny help you can give me.
> Josh
> 

there is no libiostream.a already for a long time. Use -lstdcxx instead.

Cannot say anything about error message from C++ compiler as there is not
enough information. As far as I understood this was fixed by 
#include <iostream.h>

Andris


- Raw text -


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