Date: Mon, 20 Nov 2000 09:56:53 +0200 (WET) From: Andris Pavenis To: Wesel cc: djgpp AT delorie DOT com Subject: Re: fstream problems? In-Reply-To: <8FF1CB55A0wf89u@206.13.28.143> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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