Mail Archives: djgpp/1996/03/19/21:39:07
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.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -