🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72245

Re: need interpretation of GPL.

#72245
From: Joe Buck
Date: Tue, 03 Mar 1992 22:23
32 lines
2139 bytes
In article <1992Mar3.201807.9013@bnrmtl.bnr.ca>, marc@bnrmtl.bnr.ca (Marc Beaulieu) writes:
|> If we use GCC (or G++) to compile a program, does our program have to be
|> licensed under the GPL (we cannot sell the executables generated.)?
|> 
|> The basis under this interpretation is that our executables contain
|> C++ library code and thus "contains or is a derivative of GNU CC".
|> Is this interpretation correct?

No, that makes your executables a derivative of libg++, not of Gnu CC.
libg++ version 1.39 is subject to the GPL, so yes, your executables that
use it would need to be GPL-licensed.

Certain routines that are stuck in by gcc are not copylefted -- the
functions in "gnulib" that do things like division on machines that don't
have a divide instruction, etc.  FSF would have a hard time justifying
a copyleft if you take a look at the way these routines are generated --
they are things like

int div(int a,int b) { return a/b;}

which are run through the native compiler (which means that they contain
the native compiler's divide routine, not FSF's at all).

libg++ 2.0, to be released any day now, uses the less restrictive LGPL.
Check that license for the restrictions.  Basically, you'd need to ship
the .o files for your code and the source to libg++, plus a makefile,
and you wouldn't be allowed to forbid your customers to attempt to enhance
your software or to "reverse engineer" it.  (You could also ship a pre-linked
executable).

-- 
Joe Buck	jbuck@ohm.berkeley.edu
Technical Details
Message-ID: <p0u8qINN104@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!agate!forney.berkeley.edu!jbuck
References: <1992Mar3.201807.9013@bnrmtl.bnr.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,b0213db9adb6ba50
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-03-03 14:33:27 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!agate!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: gnu.misc.discuss
Subject: Re: need interpretation of GPL.
Date: 3 Mar 1992 22:23:22 GMT
Organization: University of California, Berkeley
Lines: 32
Distribution: world
Message-ID: <p0u8qINN104@agate.berkeley.edu>
References: <1992Mar3.201807.9013@bnrmtl.bnr.ca>
NNTP-Posting-Host: forney.berkeley.edu