www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/21/22:25:43

Xref: news2.mv.net comp.os.msdos.djgpp:2034
From: nicolas AT dsys DOT ceng DOT cea DOT fr (Eric NICOLAS)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: -lgpp a default?
Date: 19 Mar 1996 14:57:44 GMT
Organization: Commissariat a l'energie atomique
Lines: 38
Message-ID: <4imi18$1q2@news.cea.fr>
References: <314EB99E DOT 446B AT LSTM DOT Ruhr-UNI-Bochum DOT De:
Reply-To: nicolas AT dsys DOT ceng DOT cea DOT fr
NNTP-Posting-Host: hudson.ceng.cea.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <314EB99E DOT 446B AT LSTM DOT Ruhr-UNI-Bochum DOT De>, Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De> writes:
:Eric NICOLAS wrote:
:: 
:: In article <314E9414 DOT 167E AT LSTM DOT Ruhr-UNI-Bochum DOT De:, Thomas Demmer
:: 
:: :You either forgot to link libgpp or put the link switch before the
:: :object.
:: :gcc test.cc -lgpp
:: :
:: :By the way: As so many people forget this @#$! ( <-- is this
:: :CDA-compliant?) lib, shouldn't it be in the spec file by default?
:: :
:: :Ciao
:: :Tom
:: 
:: Please, no, the C++ library -lgpp cannot be distributed without restrictions
:: because it is copyright university of <i don't remeber:. I don't want to
:: ship copyrighted things in my programs when I don't even use them !!!
:: 
:: --
:: Eric Nicolas <nicolas AT dsys DOT ceng DOT cea DOT fr:
:
:I always thought ld was smart enough not to add anything unneeded to
:the executable, so if you don't reference anything from libgpp, adding 
:-lgpp has no effect (except the time used for reading the lib and
:finding out it's of no use).
:
:But then again, I might be wrong.
: 

I am not sure myself of this point. Could a guru somewhere give us
any precision ??

-- 
Eric Nicolas <nicolas AT dsys DOT ceng DOT cea DOT fr>


- Raw text -


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