From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5473431e91435145 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: gnat GPL 2010 or gcc/ada? Date: Sun, 06 Mar 2011 11:52:26 +0100 Organization: A noiseless patient Spider Message-ID: <87hbbgwmfp.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="/ac82T0x9HbckrOLwKFY0g"; logging-data="7290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5kUIvXddO5F6pknZX5RL1" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:hWaXGjgUq2S8XxA1asWyny1yUzQ= sha1:x/Hu99cwCzndwn+qMFqLa3mgKpo= Xref: g2news1.google.com comp.lang.ada:17898 Date: 2011-03-06T11:52:26+01:00 List-Id: 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.