comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: Ada and licensing
Date: Wed, 19 Sep 2007 23:25:43 +0100
Date: 2007-09-19T23:25:43+01:00	[thread overview]
Message-ID: <m26426mgwo.fsf@mac.com> (raw)
In-Reply-To: ygetzpqo1z7.fsf@hugsarin.dmusyd.edu

Jacob Sparre Andersen <sparre@nbi.dk> writes:

> Simon Wright wrote:
>> Ole-Hjalmar Kristensen wrote:
>
>>> I suppose you could also compile with GNAT, and send a library to
>>> your customers. Still no RTL involved.
>>
>> I think that would be the same as distributing an executable.
>
> Not quite.
>
>> Not aware of anyone having discussed this, but as far as I can see a
>> .o file would be GPL'd just as much as the .exe's built from it.
>
> No.  The GPL is on the run-time library.  And .o files are not linked,
> and thus not infected with the license of the run-time library.

No. If that were the case, the LGPL could apply.

The GMGPL says

--  As a special exception, if other files instantiate generics from
--  this unit, or you link this unit with other files to produce an
--  executable, this unit does not by itself cause the resulting
--  executable to be covered by the GNU General Public License.  This
--  exception does not however invalidate any other reasons why the
--  executable file might be covered by the GNU Public License.

and it's the part about instantiating generics that makes the
difference with Ada. See Robert Dewar posting at <http://groups.google.com/group/gnu.misc.discuss/browse_frm/thread/39771953fe5b2343/d0f4551a982449cc?lnk=st&q=&rnum=9#d0f4551a982449cc>

Compare bison.simple --

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

One would imagine there's a similar issue with the C++ headers -- yes,
from the GCC 4.0.0 iostream,

// As a special exception, you may use this file as part of a free software
// library without restriction.  Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License.  This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.



  reply	other threads:[~2007-09-19 22:25 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17  7:33 Ada and licensing Tomek Wałkuski
2007-09-17  8:04 ` Ludovic Brenta
2007-09-17  8:07   ` Tomek Wa kuski
2007-09-17 10:43     ` Ludovic Brenta
2007-09-17  9:27 ` Stephen Leake
2007-09-17  9:37   ` Tomek Wa kuski
2007-09-17 10:29     ` Dmitry A. Kazakov
2007-09-17 11:15     ` Martin Krischik
2007-09-17 11:33       ` Tomek Wa kuski
2007-09-17 13:10         ` anon
2007-09-17 16:47           ` Dirk Heinrichs
2007-09-17 16:50             ` Dirk Heinrichs
2007-09-17 17:26               ` Markus E L
     [not found]                 ` <1190095844.877071@xnews001>
2007-09-18  7:19                   ` Dirk Heinrichs
2007-09-18 13:33                     ` Markus E L
2007-09-18  0:30             ` anon
2007-09-18  6:06               ` Dirk Heinrichs
2007-09-18 13:32                 ` Markus E L
2007-09-17 10:09 ` anon
2007-09-17 11:12 ` Martin Krischik
2007-09-17 12:32 ` Maciej Sobczak
2007-09-17 12:42   ` Tomek Wa kuski
2007-09-17 20:20     ` Alex R. Mosteo
2007-09-17 20:34       ` Wiktor Moskwa
2007-09-17 21:01         ` Ludovic Brenta
2007-09-18  4:48           ` Wiktor Moskwa
2007-09-17 14:05   ` Dmitry A. Kazakov
2007-09-19  9:59   ` Ole-Hjalmar Kristensen
2007-09-19 19:50     ` Simon Wright
2007-09-19 20:05       ` Jacob Sparre Andersen
2007-09-19 22:25         ` Simon Wright [this message]
2007-09-20  8:30           ` Markus E L
2007-09-21 20:12             ` Simon Wright
2007-09-21 21:46               ` Ada and licensing + how to keep the RTL license from propagating :-) Markus E L
2007-09-22 23:25                 ` Simon Wright
2007-09-23  8:54                   ` Markus E L
2007-09-23 11:48                   ` Simon Wright
2007-09-23 19:41                     ` Markus E L
2007-09-19 23:15         ` Ada and licensing Jeffrey Creem
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox