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=AC_FROM_MANY_DOTS,BAYES_00, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8651b8793c51828a,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!c29g2000yqd.googlegroups.com!not-for-mail From: vlc Newsgroups: comp.lang.ada Subject: GPL-only code with GPL GNAT? Date: Wed, 29 Jul 2009 03:54:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <138e041a-1b4f-4441-bf99-d46caf07b449@c29g2000yqd.googlegroups.com> NNTP-Posting-Host: 87.221.73.199 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1248864862 25766 127.0.0.1 (29 Jul 2009 10:54:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 29 Jul 2009 10:54:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c29g2000yqd.googlegroups.com; posting-host=87.221.73.199; posting-account=ROuOHgoAAABopjDuvPBd02HgYVR-VCZk User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7395 Date: 2009-07-29T03:54:22-07:00 List-Id: 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!