comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: DragonEgg has been revived
Date: Thu, 24 May 2018 08:19:09 +0100
Date: 2018-05-24T08:19:09+01:00	[thread overview]
Message-ID: <ly36yhh66q.fsf@pushface.org> (raw)
In-Reply-To: 293cf892-1320-49e6-a25f-a36ea098cd34@googlegroups.com

"Dan'l Miller" <optikos@verizon.net> writes:

> On Wednesday, May 23, 2018 at 2:26:49 AM UTC-5, Simon Wright wrote: 
>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes: 
>> 
>> > What I would like to see is an Ada compiler that can generate code
>> > for a wide range of targets without any GPL restrictions on the
>> > generated code.
>> 
>> Pretty sure that's called GCC. 
>
> Pretty sure that you haven't read the Object Code clauses in GPLv3 and
> the Target Code clauses and Eligible Compilation Process clauses in
> the Runtime Exception v3.1.  GPL restrictions galore on the generated
> code there in Target Code & Eligible Compilation Process (in Runtime
> Exception v3.1) interacting with Object Code, where Object Code is
> •everything• not Source Code (in GPLv3).  IR would therefore be Object
> Code due to being not Target Code and not Source Code.

You are confusing GPLv3 with the GCC Runtime Library Exception.

GPLv3 section 1 para 4 says

   The “Corresponding Source” for a work in object code form means all
   the source code needed to generate, install, and (for an executable
   work) run the object code and to modify the work, including scripts
   to control those activities. However, it does not include the work's
   System Libraries, or general-purpose tools or generally available
   free programs which are used unmodified in performing those
   activities but which are not part of the work. [...]

and it's clear that the GCC compiler itself is a 'generally available
free program'.

See also the FAQ[1]:

   [Q] Can I use GPL-covered editors such as GNU Emacs to develop
   nonfree programs? Can I use GPL-covered tools such as GCC to compile
   them?
 
   Yes, because the copyright on the editors and tools does not cover
   the code you write. Using them does not place any restrictions,
   legally, on the license you use for your code.
   
I don't think that it would contravene the GPL to modify GCC so that it
emitted an intermediate representation, provided that you convey the
source form of such modification with a compiler binary.

What could well cause trouble, and violation of the GCC Runtime Library
Exception, would be to use that modified compiler on source of an RTS
that was covered by the GCC Runtime Library Exception.

[1] https://www.gnu.org/licenses/gpl-faq.html#CanIUseGPLToolsForNF


  parent reply	other threads:[~2018-05-24  7:19 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21 21:37 DragonEgg has been revived Simon Clubley
2018-05-21 22:20 ` Dan'l Miller
2018-05-21 22:26 ` Luke A. Guest
2018-05-22 12:12   ` Simon Clubley
2018-05-22  1:02 ` Dan'l Miller
2018-05-22 12:29   ` Simon Clubley
2018-05-22 12:41     ` Luke A. Guest
2018-05-22 15:25       ` Dan'l Miller
2018-05-22 19:40     ` Shark8
2018-05-22 20:17       ` Dan'l Miller
2018-05-22 21:04         ` Dan'l Miller
2018-05-22 22:33         ` Shark8
2018-05-23  1:58           ` Dan'l Miller
2018-05-23  7:26     ` Simon Wright
2018-05-23  8:11       ` Luke A. Guest
2018-05-23 14:10       ` Dan'l Miller
2018-05-23 15:46       ` Dan'l Miller
2018-05-23 15:51       ` Dan'l Miller
2018-05-23 19:27         ` Chris M Moore
2018-05-23 20:30           ` Dan'l Miller
2018-05-23 22:18             ` Chris M Moore
2018-05-24  0:12               ` Dan'l Miller
2018-05-24  8:00                 ` Simon Wright
2018-05-24  7:19         ` Simon Wright [this message]
2018-05-24 15:38           ` Dan'l Miller
2018-05-24 16:44             ` Dan'l Miller
2018-05-24 18:07               ` Lucretia
2018-05-25  0:09                 ` Dan'l Miller
2018-05-24 17:19             ` Simon Wright
2018-05-24 19:26               ` Dan'l Miller
2018-05-24 21:59                 ` Chris M Moore
2018-05-24 22:15                   ` Dan'l Miller
2018-05-24 22:22                     ` Dan'l Miller
2018-05-25  0:19                   ` Luke A. Guest
2018-05-25 13:16                     ` Simon Clubley
2018-05-25 13:29                       ` Lucretia
2018-05-25 17:08                         ` Simon Wright
2018-05-25 18:09                           ` Dan'l Miller
2018-05-25 16:25                     ` Jeffrey R. Carter
2018-05-25 17:01                       ` Dan'l Miller
2018-05-25  1:54                   ` Dan'l Miller
2018-05-25  2:56                     ` Luke A. Guest
2018-05-25  3:38                       ` Dan'l Miller
2018-05-25 11:12                         ` Brian Drummond
2018-05-24 20:50               ` Dan'l Miller
2018-05-24 20:56               ` Dan'l Miller
2018-05-24 21:00                 ` Dan'l Miller
2018-05-24 20:23             ` G. B.
2018-05-25  7:16             ` Chris M Moore
2018-05-25  8:09               ` Simon Wright
2018-05-25  8:28             ` Simon Wright
2018-05-25 20:02               ` Dan'l Miller
replies disabled

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