www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/02:17:32

Date: Tue, 16 Jun 1998 09:16:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Mcleod <Peter DOT McLeod AT prophecy-open DOT com DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: lgpp280b.zip incomplete?
In-Reply-To: <199806152345.JAA10247@cspsun.prophecy-open.com.au>
Message-ID: <Pine.SUN.3.91.980616091346.12747E-100000@is>
MIME-Version: 1.0

On Tue, 16 Jun 1998, Peter Mcleod wrote:

> Shouldn't I have gotten the file lib/libiostr.a from the libraries 
> zip (lgpp280b.zip)?

No.

> To prevent an (undefined reference to 'cout') problem, I took the
> advice from a much earlier mail to this list - that is, this liostr
> appendage:
> 
> gcc test.cc -otest.exe -liostr 

Wrong usage.  In GCC 2.8.1, you should use -lstdcxx instead of 
-liostream.  Or just use gxx instead of gcc, and then you don't have to 
add -lstdcxx.  This is all in the docs.

- Raw text -


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