delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/16/01:53:11

Date: Tue, 16 Jan 1996 08:40:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Erik Max Francis <max AT alcyone DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: I can't compile C++...

On Sun, 14 Jan 1996, Erik Max Francis wrote:

> To get it working, add -liostream at the end of the command at your call to
> gcc.

I think it's best to use -lgpp, even if the program only uses iostream 
functions.  The reason is that libgpp.a includes everything libiostream.a 
does, so you don't have to change your Makefile when you start using 
other classes.  The above is especially true for new users of DJGPP which 
are already confused with the multitude of the different libraries.

The only reason to have libiostream.a is that its terms of usage are less 
restricted by the GNU LGPL (in fact, libiostream isn't LGPL at all, its 
usage is virtually unrestricted).

- Raw text -


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