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,7684e927a2475d0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: can one build commercial applications with latest gnat and other licenses related questions... Date: 19 Jun 2006 03:40:59 -0700 Organization: http://groups.google.com Message-ID: <1150713659.319052.287240@p79g2000cwp.googlegroups.com> References: NNTP-Posting-Host: 212.123.3.11 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1150713663 32171 127.0.0.1 (19 Jun 2006 10:41:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 Jun 2006 10:41:03 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 KUUPXS02 Complaints-To: groups-abuse@google.com Injection-Info: p79g2000cwp.googlegroups.com; posting-host=212.123.3.11; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news2.google.com comp.lang.ada:4824 Date: 2006-06-19T03:40:59-07:00 List-Id: Stephen Leake wrote : > klobert writes: >> What's the difference in functionality between these: (gnat, >> gccada3.44, gccada4.1.0 ? ) > > They nominally contain the _same_ compiler, but they are slightly > different because of release cycles. > > A major difference is that some of the tools that are in GNAT GPL-2006 > are not in gcc ada; notably ASIS, and the debugger may not be > Ada-aware (depending on exactly how your distribution is configured). > > Also, the GNAT public releases are more reliable (more thoroughly > tested). That's because the gcc release cycle does _not_ wait for Ada > compiler issues, while the GNAT public release cycle does. That may > become less of an issue over time. > > I believe gcc ada 4.1.0 has the same Ada 2005 features as GNAT > GPL-2005, but I'm not sure. gcc ada 3.4.4 has no Ada 2005 features. What I gathered by looking at the diffs of the Ada front-end and library between releases: GCC 3.4 < GCC 4.0 < GNAT GPL 2005 < GCC 4.1 < GCC 4.2 < GNAT GPL 2006 IIRC, most of the changes between GNAT GPL 2005 and GCC 4.1 are in the Ada.Containers library. Support for Ada 2005 gradually improves with each release, and seems to be complete starting with GNAT GPL 2006; at least that's what AdaCore's marketing leads me to believe. I don't know where each GNAT Pro release fits in that sequence. Contrast this with the versions of the back-ends, which affect the quality of the optimiser: GCC 3.4.0 < GNAT GPL 2005 (3.4.4 + patches) < GNAT GPL 2006 (3.4.6) < GCC 4.0 < GCC 4.1 < GCC 4.2 GCC 4.2 is not released yet; it is in stage 3: only bug fixes and no more new features. The reason why GNAT GPL is still based on GCC 3.4.x is because GCC 4.0 introduced Tree-SSA, a major change in the internal architecture of the compiler, which has brought some instability (read: bug boxes). GCC 4.1 corrects most if not all of that instability. -- Ludovic Brenta.