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 Path: g2news2.google.com!postnews.google.com!u12g2000vbf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: gnat GPL 2010 or gcc/ada? Date: Fri, 4 Mar 2011 08:06:07 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1299254767 2013 127.0.0.1 (4 Mar 2011 16:06:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 Mar 2011 16:06:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u12g2000vbf.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012111 Red Hat/3.0.6-1.el5 Firefox/3.0.6,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:18785 Date: 2011-03-04T08:06:07-08:00 List-Id: 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). You can also use gprbuild for mixed-language development, it also uses the same project files but can drive compilers for languages other than Ada. Gprbuild is separate from GCC. I think the decision should depend on your platform. If 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. If 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.