comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: gnat GPL 2010 or gcc/ada?
Date: Fri, 04 Mar 2011 17:02:44 +0100
Date: 2011-03-04T17:02:44+01:00	[thread overview]
Message-ID: <4d710d24$0$6768$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <ikr1nj$mes$1@speranza.aioe.org>

On 04.03.11 16:50, 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?

GNAT GPL 2010 is an easy install for ubiquitous platforms,
tested and checked before its release, by AdaCore.
Good for Free Software work, or for learning, or just
to enjoy Ada programming.

If you have Debian GNU/Linux, that's easy, too,
since its GNAT has been maintained well there for years.
With libraries and an Ada policy for the system.

With just gcc on Windows or Mac, things can be more difficult.
Last time I tried on Windows, I tried MingW; i.e. you get
half of Unix in addition to just gcc.  On a Mac there
are some pre-built editions (one for older Macs); a bit
tricky IIRC.

> 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?

(That would be GPR configuration files?)  You can use
gnatmake with -Pyourprojectfile if you like.
The User's Guide explains this quite well; I found reading the
first chapters time well spent.





  reply	other threads:[~2011-03-04 16:02 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 [this message]
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
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