www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/19/05:07:11

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: is libgpp.a automatically linked?
Date: Fri, 18 Oct 1996 20:51:42 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 22
Message-ID: <3268504E.3E9F@cs.com>
References: <5480kr$7f2 AT golden DOT ncw DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp104.cs.com
Mime-Version: 1.0
To: Daniel Arbuckle <djarb AT ios DOT com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Daniel Arbuckle wrote:
> 
> Does gcc automatically link libgpp.a with C++ programs? If so, how can I stop it?
> Thanks

Not unless you use the 'gxx' program to compile C++ instead of 'gcc'. 
To avoid using libgpp.a, you can manually specify the libraries to link
using something like:  "gcc ... -liostream".  This will only link
libiostream.a which does not fall under the GNU General Public License.

-- 
John M. Aldrich <fighteer AT cs DOT com>                      

* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
  causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
  again.
* It doesn't necessarily do it in chronological order, though.
 
                                       --- Douglas Adams

- Raw text -


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