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!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 07 Mar 2011 17:23:15 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 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: <4d750674$0$6981$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 07 Mar 2011 17:23:16 CET NNTP-Posting-Host: 8157a7ac.newsspool4.arcor-online.net X-Trace: DXC=GR:Lab:0AF7gP]QSEBQ^d44IUK5Gm>nc\616M64>:Lh>_cHTX3j=j[gO0F^E7n? X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:18919 Date: 2011-03-07T17:23:16+01:00 List-Id: On 07.03.11 16:35, Julian Leyh wrote: > On 6 Mrz., 05:51, "Nasser M. Abbasi" 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. Chances are that all Ada compilers will compile standard Ada programs. This shouldn't be too limiting for non-graphical, non-networked programs.