comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: gnat GPL 2010 or gcc/ada?
Date: Fri, 4 Mar 2011 08:06:07 -0800 (PST)
Date: 2011-03-04T08:06:07-08:00	[thread overview]
Message-ID: <e07e07da-afec-456b-8ae7-1da727e486d3@u12g2000vbf.googlegroups.com> (raw)
In-Reply-To: ikr1nj$mes$1@speranza.aioe.org

Nasser M. Abbasi wrote:
> Basic question: I've always been confused about which "Ada" to use.
>
> If one wants to write some program in Ada for school,
> and want to use Ada. Should one download gcc which has
> Ada in it, or download gnat GPL 2010?
>
> Can someone, using simple words, explain which one of
> the above should one install? For example, gnatmake comes
> with both gcc/ada and gnat GPL 2010?  Should one use gnatmake
> or the new gpl configuration files to build an Ada program?

They both have gnatmake and they both use the same .gpr project files
(which have been "new" for 9 years or so).  You can also use gprbuild
for mixed-language development, it also uses the same project files
but can drive compilers for languages other than Ada.  Gprbuild is
separate from GCC.

I think the decision should depend on your platform.  If your platform
provides precompiled binaries, you should use them; that is the case
in particular for Debian & derivatives (which also include gprbuild as
a separate package), Gentoo and the *BSDs.  If your platform does not,
then GNAT GPL Edition is probably what you want. It will provide
binaries of the compiler and GPS but only sources for all other
libraries, so you'll have to recompile quite a lot (e.g. GtkAda).

Another factor in your decision is the licensing terms of the run-time
library: pure GPL for GNAT GPL Edition, GPL with Runtime Exception for
GCC.

HTH

--
Ludovic Brenta.



  parent reply	other threads:[~2011-03-04 16:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 15:50 gnat GPL 2010 or gcc/ada? Nasser M. Abbasi
2011-03-04 16:02 ` Georg Bauhaus
2011-03-04 17:52   ` Martin
2011-03-04 17:59     ` Georg Bauhaus
2011-03-04 22:57       ` Simon Wright
2011-03-28  1:28   ` Yannick Duchêne (Hibou57)
2011-03-04 16:06 ` Ludovic Brenta [this message]
2011-03-05  1:05   ` onox
2011-03-05  9:22     ` Ludovic Brenta
2011-03-06  4:51     ` Nasser M. Abbasi
2011-03-06 10:52       ` Ludovic Brenta
2011-03-07 15:35       ` Julian Leyh
2011-03-07 16:23         ` Georg Bauhaus
2011-03-07 20:04           ` Tero Koskinen
2011-03-07 17:57         ` Simon Wright
2011-03-04 16:21 ` Pascal Obry
2011-03-04 19:39 ` Simon Clubley
replies disabled

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