comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: gnat GPL 2010 or gcc/ada?
Date: Sun, 06 Mar 2011 11:52:26 +0100
Date: 2011-03-06T11:52:26+01:00	[thread overview]
Message-ID: <87hbbgwmfp.fsf@ludovic-brenta.org> (raw)
In-Reply-To: ikv3t0$to9$1@speranza.aioe.org

Nasser M. Abbasi writes on comp.lang.ada:
> On 3/4/2011 5:05 PM, onox wrote:
>>
>> In my opinion Gentoo doesn't really have good Ada support. Latest
>> version of gnat-gcc is 4.3.4 and of gnat-gpl is 4.1.3.2008-r1. And
>> (according to the ChangeLog files) most Ada packages seem to be quite
>> old. I found it easier to just download gnat-gpl 2010 from ACT's
>> website. (If I could run VM's, I would develop in a Debian or *BSD VM)
>
> The above type of thing is what confuses me.
>
> I am now downloading gcc 4.5.1-2 (I use cygwin, and this is what
> it says the latest gcc for cygwin), but I also use linux on
> virtual PC sometimes.
>
> So, how does one know which version of "Ada" or GNAT the above has?
> i.e. compared to gnat GPL2010?  i.e. which one would be more recent?
>
> What is the reference point any way? I assume they are both Ada 2005.

Full details here:
http://people.debian.org/~lbrenta/debian-ada-policy.html#Background-information

> Another question: I would like to use gcc to build an Ada program,
> only because I know gcc is available everywhere, but if I use gnat GPL
> how do I make sure the same program will build with gcc if one of
> these 2 choices happened to be 'recent' than the other or one has more
> packages than the other?
>
> i.e. which gcc version does GNAT GPL 2010 correspond to?

See above.

> So that if I use gnat GPL, and send the code to someone, and they use
> gcc to compile, they will not get an errors?

Use the least common denominator, i.e. the oldest release you can live
with.

> one more thing: if I want to use GPS for editing/compiling/debugging
> an Ada program, do I have to use GNAT GPL compiler or can I use gcc
> with that?

You can use GCC.

-- 
Ludovic Brenta.



  reply	other threads:[~2011-03-06 10:52 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
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 [this message]
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