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: a07f3367d7,8651b8793c51828a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!h11g2000yqb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GPL-only code with GPL GNAT? Date: Wed, 29 Jul 2009 05:42:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <012a50c0-ba0e-4af3-9f69-a31b1d592916@h11g2000yqb.googlegroups.com> References: <138e041a-1b4f-4441-bf99-d46caf07b449@c29g2000yqd.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1248871364 10422 127.0.0.1 (29 Jul 2009 12:42:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 29 Jul 2009 12:42:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h11g2000yqb.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7397 Date: 2009-07-29T05:42:44-07:00 List-Id: vlc wrote on comp.lang.ada: > Hi *, > > I read in another thread that it would be only allowed to write GPL > code with GNAT. I also remember to have read something like this on > AdaCore's web site for the GPS - GPL version. > > I always thought that the GNAT was based on gcc (at least gnatmake is > calling gcc on my PC). With gcc, I can write closed source code, it is > even allowed to link CSS with glibc - there is an extra exception from > the LGPL for glibc made by the FSF. > > Does this not hold true with GNAT? And where is the limitation? In the > compiler or in the libraries? I cannot imagine that the GPL puts > restrictions on the compiled code based on the compiler. Maybe the > libraries are dual-licensed under GPL (which allows only linking > against GPL'ed code) and a proprietary license one has to buy? > > Thanks a lot for any clearification! Read it here: http://en.wikibooks.org/wiki/Ada_Programming/Installing#GNAT.2C_the_GNU_Ada_Compiler_from_AdaCore_and_the_Free_Software_Foundation -- Ludovic Brenta.