Newsgroups: comp.os.msdos.djgpp From: Peter Berdeklis Subject: Re: template classes with DJGPP Message-ID: Nntp-Posting-Host: chinook.physics.utoronto.ca Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator) Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Toronto - Dept. of Physics In-Reply-To: <5sh879$gs4@freenet-news.carleton.ca> Date: Mon, 11 Aug 1997 14:38:00 GMT Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 9 Aug 1997, Paul Derbyshire wrote: > > Peter Berdeklis (peter AT atmosp DOT physics DOT utoronto DOT ca) writes: > > STL is part of the (draft) C++ language definition, and therefore does > > not fall under LGPL. > > Maybe so, but the only two C++ libraries I found in the distribution for > C++ functionality were libiostr and libstdcx(sp?) and the latter has LGPL > written all over it? Actually, there is also libg++, which is the one with LGPL. According to the FAQ, under Legalese (thanks again Eli :): "The basic C++ `iostream' class library (`libiostr.a') and the Standard Template Library (`libstdcx.a') which come with DJGPP allow you to use them binary-wise (i.e., without changing library sources) in your C++ programs *without restrictions*, unless you compile your programs with a compiler other than Gcc (which won't happen if you work with DJGPP). Only the library of additional C++ classes (`libgpp.a') requires that you provide your customers with source or object code of the application, so they could relink the application with future or modified versions of the C++ library. (If you intend to distribute commercial programs linked with the `libgpp.a' library, you are strongly advised to read the GNU Library General Public License which comes with the library, for rigorous definition of its terms.)" By the way, I think that any DJGPP/GCC user should consider carefully bitching about LGPL. Without it neither wonderful program would exist, not for free anyway. --------------- Peter Berdeklis Dept. of Physics, Univ. of Toronto