lang/gcc-4x and ADA support

Daniel Eischen eischen at vigrid.com
Wed May 10 19:48:51 UTC 2006


On Wed, 10 May 2006, Boris Samorodov wrote:

> On Wed, 10 May 2006 14:31:15 -0400 (EDT) Daniel Eischen wrote:
>> On Wed, 10 May 2006, Boris Samorodov wrote:
>>> On Wed, 10 May 2006 14:01:19 -0400 (EDT) Daniel Eischen wrote:
>>>
>>>> What are the licenses with the gnat libs in gcc4x?  Are
>>>> they as restrictive as lang/gnat?
>>>
>>> Gnat with gcc4x has GPL like all gcc code. I'm not an expert here but
>>> it seems that bootstrapping with gnat/gpl may have result in pure GPL
>>> license. That's why I prefer to have a possibility to bootstrap with
>>> gnat-3.15p-boot.
>
>> Yeah, I don't think that using lang/gnat to build lang/gcc4x with Ada
>> would produce tainted code.  I think only the lang/gnat libraries
>> or run-time are GPL tainted.  When you build lang/gcc4x, you won't
>> end up relying on or including any libraries from lang/gnat.  And if
>> you use lang/gcc4x to rebuild itself once again, you certainly
>> shouldn't.
>
> Hm, from https://libre2.adacore.com/dynamic/gnat_faq.html:
> -----
> What is the license of the GNAT GPL Edition?
> Everything (tools, runtime, libraries) in the GNAT GPL Edition is
> licensed under the General Public License (GPL). This ensures that
> executables generated by the GNAT GPL Edition are Free Software and
> that source code is made available with the executables, giving the
> freedom to recepients to run, study, modify, adapt, and redistribute
> sources and execuatbles under the terms of the GPL.
> -----
>
> Seems that everything that is touched by gnat/gpl should be gpl'ed.

But since you are building gcc (gcc4x), it is already GPL'd software.
The GNAT GPL license wouldn't affect gcc4x, because gcc itself is
already under the GPL.  What gcc4x produces in terms of executables
and libraries is not tainted by gnat/gpl; it is tainted only by
whatever license applies to gcc4x and its libraries.

-- 
DE


More information about the freebsd-ports mailing list