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!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 17 May 2008 09:44:54 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <0b115c04-ead8-4cec-8867-94ca9632a5b9@w1g2000prd.googlegroups.com> Subject: Re: Runtime versions (GPL vs Modified GPL) Date: Sat, 17 May 2008 07:48:18 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.20.111.206 X-Trace: sv3-SSyxGsj08cI1FW5h414v7PqgvZn3RBvRlAnWCpB8WHje5L/1Lx0Itwqi5FJ1uTDDzeA0DhcYrZpeN+o!WTvrTVjXT95aNI/y71/DyAonCOqrxyrfryd9JrpMSUqrWC5vVw9Ym+OFWlSMOrO5yvnENvvyEILV!XeydRP4EjY9qtV4HoLXhsa28sGn9cQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.38 Xref: g2news1.google.com comp.lang.ada:158 Date: 2008-05-17T07:48:18-07:00 List-Id: "anon" wrote in message news:LTmXj.345584$cQ1.268308@bgtnsc04-news.ops.worldnet.att.net... > All programs that are compiled with GNU components are force to GPL 2 > or 3. > > Explained in a number of web sites, such as Adacore. You must use GNAT > that come with the GMGPL (GNAT modified GPL). These are limited to > Ada 95 versions compiled and packaged back in the mid 1990s or use the > pay version (GNAT PRO). Most archived versions have been updated to > GPL 2 and GPL 3. Which mean that GNAT Ada 95 and at the movement all > Ada 2005 compilers (GNAT only) are under GPL 2 or 3, which mean your > code must be under GPL. > This is misinformation. If you browse the source code repository on gcc.org at: svn://gcc.gnu.org/svn/gcc/trunk/gcc/ada/a-textio.ads In the file header you will find: -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public -- This "special exception" is what makes the code at the FSF (free software foundataion) covered by the GMGPL (GNAT modified GPL). My understanding is: If you want to use GNAT to generate code that is not covered by the GPL you must either: a) Pay AdaCore a bunch of $$$ for GnatPro whis is supported (very well I understand) -or- b) Obtain a distribution from a source other than AdaCore that is built using the FSF sources, which is certainly not supported by AdaCore. -or- c) Completely avoid the use of any Ada run time libraries (which is difficult if not impossible to do), in which case you could use the GnatGPL edition from AdaCore. If you don't care about whether the generated code is covered by teh GPL you may use the GnatGPL edition distributed from AdaCore. Regards, Steve (The Duck) > To know for sure, read the 'license.txt' that comes with GNAT package. > > In <0b115c04-ead8-4cec-8867-94ca9632a5b9@w1g2000prd.googlegroups.com>, > "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. >