Mail Archives: djgpp/1996/03/21/22:25:43
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 -