delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/02/14:40:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 2 Aug 2001 14:39:20 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Licensing terms
Message-ID: <20010802143920.E28906@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BA5F9C6AA352D311AD4E009027855BCD07D35173 AT fl51m01 DOT space DOT honeywell DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <BA5F9C6AA352D311AD4E009027855BCD07D35173@fl51m01.space.honeywell.com>; from matthew.c.clark@honeywell.com on Wed, Aug 01, 2001 at 10:37:07AM -0400

On Wed, Aug 01, 2001 at 10:37:07AM -0400, Clark, Matthew C (FL51) wrote:
>
>> -----Original Message-----
>> From: Corinna Vinschen [mailto:cygwin AT cygwin DOT com]
>> Sent: Wednesday, August 01, 2001 9:17 AM
>> To: Clark, Matthew C (FL51)
>> Cc: cygwin AT cygwin DOT com
>> Subject: Re: Licensing terms
>> 
>> Basically you'll have to release the sources of applications linked
>> against Cygwin. Except when
>> 
>> - you never release the application since you're using it only
>>   internally in your office or so. That's the trivial case.
>> 
>> - you purchase a special Cygwin license from Red Hat. For a
>>   one time fee per project you may distribute also proprietary
>>   software linked against Cygwin.
>>   Visit http://www.redhat.com/products/support/cygwin/ for more
>>   information.
>
>Ok, thanks for the info.  Now for the follow-up.  Say I build a 
>archive library, my_lib.a, based entirely on my own source code
>and does NOT link in a GPL library, eg libcygwin.a, though it
>does #include standard templates.
>
>ie, gcc -c biff.c ; gcc -c bob.c ; ar -o my_lib.a biff.o bob.o  
>
>First, does my_lib.a fall under GPL? 

First,
I don't think that the explanations given here have been completely
correct.  If you provide the sources to your application under the GPL
you don't need to provide sources to cygwin, too.  Check out the licensing
terms at http://cygwin.com/.

Second,
If your library uses no cygwin imports like (strchr, strcpy, etc.) then
the GPL doesn't apply.  You can verify this with the nm command.  If you
have undefined symbols then you haven't isolated your library from cygwin.

Regardless, if the end user links with gcc under cygwin, they *will* be
using the cygwin DLL.  Their sources will be GPLed.

If you don't want to use cygwin, then use -mno-cygwin.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019