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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,fe6570654e1c4c73 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.87.100 with SMTP id w4mr1343546wiz.3.1351391114685; Sat, 27 Oct 2012 19:25:14 -0700 (PDT) Path: q13ni70611wii.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.142.MISMATCH!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Licensing Questions Date: Sat, 20 Oct 2012 21:25:50 +0300 Organization: Tidorum Ltd Message-ID: References: Mime-Version: 1.0 X-Trace: individual.net 6WM5j/EMp7ctruW1oKHRqgUcJc8G7E5vAjqILSn/8pZjp9cgl7qP7/JDiBsu0EWzgm Cancel-Lock: sha1:406CwnC5fFKBAW5kIuov7RkK60s= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-10-20T21:25:50+03:00 List-Id: On 12-10-20 20:18 , aditya siram wrote: > Hi all, Having looked at the Alioth benchmarks I'm looking into Ada > as an alternative to C++ but I'm totally confused by the licensing. I'll take a shot at answering you. I'm not a lawyer, and my understanding may be incorrect or incomplete, but here is how I understand it. > It seems like there's two entities GNU and ADACore both offering the > a compiler/runtime but with different restrictions The GNAT compiler is available with three different licensing schemes: - GNAT Pro from AdaCore. Expensive, but you can distribute your Ada programs in binary form (for free or for a price) without distributing source. And you get support from AdaCore. - GNAT GPL from AdaCore. Free beer, but with pure GPL, so can be used only for developing GPL programs. - GNAT from the Free Software Foundation (FSF; I think this is what you call "GNU GNAT"). Free beer, and the compiler itself is under GPL, but the programs that you develop with the compiler are not, because the libraries use a modified version of GPL that lets you use the libraries in non-GPL programs. I use FSF GNAT to compile SW for which I sell binary-only licences in the traditional fashion. > so please excuse these simple questions: > - How are the two products different? Are they just the same codebase > with different support models? The codebase is roughly the same; GNAT Pro is most advanced and is frequently updated. GNAT GPL is a a snapshot of GNAT Pro taken yearly (more or less). FSF GNAT is maintained by the community but receives updates from AdaCore (tracking GNAT Pro) now and then. > - Can I develop commercial closed-source libraries and software using > the GNU version of GNAT? With the FSF GNAT, yes. The Debian platform has excellent support for FSF GNAT, thanks mainly to Ludovic Brenta. For MS Windows, MinGW provides FSF GNAT (as I understand it). It seems to work, too. > - Will there be compatibility issues between GNU GNAT and Adacore > GNAT beyond missing Ada 2012 features? On the Ada source-code level, for application programs, I don't expect any compatibility problems. On the internal level, the ASIS tool-set depends on GNAT internals and must be closely matched to GNAT, version by version. You cannot use the GNAT GPL version of ASIS to access compiled code from FSF GNAT. Also, I would hesitate to mix object code from different GNAT versions in the same link. > - Is AdaCore the only company working on GNAT right now? Yes, for the PC targets, as far as I know. There have been some companies that have developed off-shoots of GNAT for embedded systems, for example the XGC company in the UK. > - Are there performance differences between the two compilers? Could be, since GNAT Pro is the "wavefront" and so probably has more evolved optimizations than the other versions. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .