www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/20/03:06:55

Date: Mon, 20 Nov 2000 09:56:53 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Wesel <thelemur AT nowhere DOT not>
cc: djgpp AT delorie DOT com
Subject: Re: fstream problems?
In-Reply-To: <8FF1CB55A0wf89u@206.13.28.143>
Message-ID: <Pine.A41.4.05.10011200953190.47132-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Mon, 20 Nov 2000, Wesel wrote:

> I have been having trouble with the fstream class in djgpp.  It seems I 
> have a misplaced library, or perhaps a damaged one.  
> 
> Any suggestions?  Even when I went
> 
> gcc -lstdcxx test.o -o test.exe
> 
> it gave the same errors.  For some reason, istream, and ifstream seem to be 
> present in the header files, but missing from the libraries.  

Try

gcc test.o -lstdcxx -o test.exe

or 

gpp test.o -o test.exe



- Raw text -


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