comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: gnat GPL 2010 or gcc/ada?
Date: Mon, 07 Mar 2011 17:57:18 +0000
Date: 2011-03-07T17:57:18+00:00	[thread overview]
Message-ID: <m2vczuvmo1.fsf@pushface.org> (raw)
In-Reply-To: b4debdda-4d22-4642-ac4b-b26674bb97f9@u12g2000vbf.googlegroups.com

Julian Leyh <julian@vgai.de> writes:

> On 6 Mrz., 05:51, "Nasser M. Abbasi" <n...@12000.org> wrote:
>> 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?
>
> You'd have to test your program with all the compilers you want it to
> be compilable with, i.e. compile it with both, GNAT-GPL and GCC-GNAT.

You'd have to try to be sure; but I've rarely had problems if I stick to
straightforward constructs. Right now, going for all the Ada2012
features you can is going to cause you problems (not least because
AdaCore have implemented features 'at risk', ie before the standard has
been agreed, and GNAT GPL/GCC are very likely to be at different stages.)



  parent reply	other threads:[~2011-03-07 17:57 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
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 [this message]
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