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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a6975ef46c052458 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Runtime versions (GPL vs Modified GPL) Date: Fri, 16 May 2008 23:12:06 +0100 Organization: Pushface Message-ID: References: <0b115c04-ead8-4cec-8867-94ca9632a5b9@w1g2000prd.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1210975927 14001 62.49.19.209 (16 May 2008 22:12:07 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 16 May 2008 22:12:07 +0000 (UTC) Cancel-Lock: sha1:Hpn64ng7IgKAidwIwUmV7ERnjPk= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Xref: g2news1.google.com comp.lang.ada:124 Date: 2008-05-16T23:12:06+01:00 List-Id: "jhc0033@gmail.com" writes: > If I install GNAT from Cygwin or my Linux distribution, as part of > GCC, is there any way to know for sure which version of the runtime > it's using? I wouldn't want to use the one that forces me to GPL my > own code. If it's an FSF GCC including Ada then it will be the version that allows you to build proprietary code. That would include GNAT from Cygwin or as part of your Linux distribution. If it's a non-PRO ('GPL') GNAT from AdaCore, the extra permission isn't available. You can look at the source of the RTL; if it's the GPL version, there will be a region about 30 lines into the header comment where the extra permissions have been removed. Probably rather easier to say 'gnatls -v'. If the output starts with something like GNATLS GPL 2007 (20070402-41) then you have a GPL version. If it's more like GNATLS 4.0.0 or perhaps GNATLS PRO x.y.z (don't have one here), it's got the GMGPL permissions.