comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: some questions on installing Ada on Linux
Date: Fri, 04 Jul 2014 17:30:23 +0100
Date: 2014-07-04T17:30:23+01:00	[thread overview]
Message-ID: <lypphldr34.fsf@pushface.org> (raw)
In-Reply-To: 2871836a-3b86-4c5e-b7d9-7da3e9acf775@googlegroups.com

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

> On Friday, July 4, 2014 7:22:37 AM UTC-5, Simon Clubley wrote:
>> > What is the correct way to install Ada on Linux these days?
>> ...
>> > 1) Should one install GNAT on Linux by downloading tar files from
>> > http://libre.adacore.com  (GPL 2014 edition)
>
> Do this only if:
> 1) the entirety of each executable containing your Ada work and all of
> its supporting libraries are licensed under GPL; or

.. if you intend to distribute executables under the GPL.

> 2) throwaway work, such as replicating a bug; or
> 3) trying out AdaCore's version before paying the
> over-$10,000-per-seat license.

.. if paying for support is possible, you should contact AdaCore for ean
eval, since the prime benefit is access to support.

>> > or use:  sudo apt-get install gnat-4.8
>
> Do this (or analogue on various distributions of Linux) for all other
> cases.  For example, I install GCC 4.9 from http://FinkProject.org for
> my MacOSX development.

.. and I build GCC with various AdaCore libraries, released at
SourceForge. Of course this means I have to be careful about the GPL
aspects (as you do with the equivalent Debian packages). (I've never
been comfortable with fink or homebrew).

>> > 2) Will the sudo installation install all the stuff listed at
>> > libre.adacore.com?

There are several extra GNAT-related packages on Debian, eg
asis-programs.

>   No.  None of it exactly as supplied by AdaCore.  Some AdaCore
> libraries are licensed as GPL only, which is useful only in
> executables entirely licensed as GPL.  For this reason, the GPL-only
> libraries from AdaCore (i.e., dual-licensed GPL and over-$10,000 per
> seat) are generally not distributed in the open-source community.

If you look at GNAT GPL library source you will see some blank lines
after the standard GPL header; these are where the runtime exception,
which is embedded in the code provided to AdaCore supported customers
and in the FSF version, has been stripped out (I imagine there's an
automated script to do this in the release process).

>> including GPS editor and all the other packages?
>
>   No.  GPS is not distribute as source code publicly.  I am unclear
> whether source code to GPS is included in the over-$10,000-per-seat
> license for GNAT Pro.

Source code to GPS is distributed as part of GNAT GPL. But unless you
plan to distribute executables based on GPS source I don't see why you
need worry about its license; it's a development tool (cf Emacs). And it
requires a *lot* of external libraries. Just use the GPL distribution
for your system!

Actually, I suspect there's a Debian package .. yes, gnat-gps.

>> > 4) When I go to http://libre.adacore.com/download/configurations
>> > is there a way to tell it to check everything for download,
>> > without one having to spend 1 hr clicking on the check-box
>> > for each item? I do not see "select all"

You must click very slowly!


  reply	other threads:[~2014-07-04 16:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-04 10:16 some questions on installing Ada on Linux Nasser M. Abbasi
2014-07-04 12:22 ` Simon Clubley
2014-07-04 15:49   ` Dan'l Miller
2014-07-04 16:30     ` Simon Wright [this message]
2014-07-04 17:08     ` Simon Clubley
2014-07-04 17:30       ` Simon Clubley
2014-07-04 17:40       ` Ludovic Brenta
2014-07-04 17:22 ` Ludovic Brenta
2014-10-07 13:43 ` brbarkstrom
2014-10-07 15:58   ` Simon Wright
2014-10-07 16:56 ` brbarkstrom
2014-10-07 18:47   ` Ludovic Brenta
2014-10-07 19:06 ` brbarkstrom
2014-10-07 19:13   ` Ludovic Brenta
replies disabled

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