Xref: news2.mv.net comp.os.msdos.djgpp:1984 From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: -lgpp a default? Date: Tue, 19 Mar 1996 14:41:50 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 44 Message-ID: <314EB99E.446B@LSTM.Ruhr-UNI-Bochum.De> References: <314E9414 DOT 167E AT LSTM DOT Ruhr-UNI-Bochum DOT De> <4im8ee$sko AT news DOT cea DOT fr> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 want to > ship copyrighted things in my programs when I don't even use them !!! > > -- > Eric Nicolas 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 * *************************************************************