Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 21 Sep 2001 14:29:13 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: How to distribute programs compiled on cygwin? FAQ alert
Message-ID: <20010921142913.E3184@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <F90xox4WADxOTmI68GN00008d3a@hotmail.com> <20010903210225.B3824@redhat.com> <8281-Fri21Sep2001192608+0100-starksb@ebi.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8281-Fri21Sep2001192608+0100-starksb@ebi.ac.uk>
User-Agent: Mutt/1.3.21i

On Fri, Sep 21, 2001 at 07:26:08PM +0100, David Starks-Browning wrote:
>On Monday 3 Sep 01, Christopher Faylor writes:
>> There is no way to remove the cygwin DLL from programs that use cygwin.  Sorry.
>> 
>> I couldn't find this info in the FAQ, but it probably should be there.
>
>I added the following entry to the "Programming Questions" section of
>the FAQ:
>
>	"Can I build a Cygwin program that does not require
>	cygwin1.dll at runtime?"
>
>	No.  If your program uses the Cygwin API, then your executable
>	cannot run without cygwin1.dll.  In particular, it is not
>	possible to statically link with a Cygwin library to obtain an
>	independent, self-contained executable.
>	
>	If this is an issue because you intend to distribute your
>	Cygwin application, then you had better read and understand
>	<http://cygwin.com/licensing.html>, which explains the
>	licensing options.  Unless you purchase a special commercial
>	license from Red Hat, then your Cygwin application must
>	conform to the GPL.
>
>I call your attention to the last paragraph.  I'm pretty sure it's
>correct, but I don't speak for Red Hat, so someone should check that I
>haven't lied.

It's perfect, David.

Thanks much for adding this section and for all of your work on the FAQ.
It is very much appreciated.

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/

