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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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 Path: g2news1.google.com!postnews.google.com!k38g2000vbn.googlegroups.com!not-for-mail From: onox Newsgroups: comp.lang.ada Subject: Re: gnat GPL 2010 or gcc/ada? Date: Fri, 4 Mar 2011 17:05:27 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 62.140.137.135 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1299287128 13933 127.0.0.1 (5 Mar 2011 01:05:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 5 Mar 2011 01:05:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k38g2000vbn.googlegroups.com; posting-host=62.140.137.135; posting-account=BtkjvAoAAADwEquGb07eykXfyiDMOxfl User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.45 Safari/534.13,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:17857 Date: 2011-03-04T17:05:27-08:00 List-Id: On Mar 4, 5:06=A0pm, Ludovic Brenta wrote: > 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? =A0Should 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). =A0You can also use gprbuild > for mixed-language development, it also uses the same project files > but can drive compilers for languages other than Ada. =A0Gprbuild is > separate from GCC. > > I think the decision should depend on your platform. =A0If 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. =A0If 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. 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)