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: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.105.MISMATCH!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 04 Mar 2011 17:02:44 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gnat GPL 2010 or gcc/ada? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4d710d24$0$6768$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 04 Mar 2011 17:02:44 CET NNTP-Posting-Host: ff67338b.newsspool3.arcor-online.net X-Trace: DXC=8PmYAY?YG25LNKYb?b>076McF=Q^Z^V384Fo<]lROoR18kF:Lh>_cHTX3j=fj6F>P6Sf^0 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:18784 Date: 2011-03-04T17:02:44+01:00 List-Id: On 04.03.11 16:50, 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? GNAT GPL 2010 is an easy install for ubiquitous platforms, tested and checked before its release, by AdaCore. Good for Free Software work, or for learning, or just to enjoy Ada programming. If you have Debian GNU/Linux, that's easy, too, since its GNAT has been maintained well there for years. With libraries and an Ada policy for the system. With just gcc on Windows or Mac, things can be more difficult. Last time I tried on Windows, I tried MingW; i.e. you get half of Unix in addition to just gcc. On a Mac there are some pre-built editions (one for older Macs); a bit tricky IIRC. > 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? Should one use gnatmake > or the new gpl configuration files to build an Ada program? (That would be GPR configuration files?) You can use gnatmake with -Pyourprojectfile if you like. The User's Guide explains this quite well; I found reading the first chapters time well spent.