delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/21/14:26:30

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: Fri, 21 Sep 2001 19:26:08 +0100
Message-ID: <8281-Fri21Sep2001192608+0100-starksb@ebi.ac.uk>
X-Mailer: 21.5 (beta2) "artichoke" XEmacs Lucid (via feedmail 9-beta-7 I);
VM 6.92 under 21.5 (beta2) "artichoke" XEmacs Lucid
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to distribute programs compiled on cygwin? FAQ alert
In-Reply-To: <20010903210225.B3824@redhat.com>
References: <F90xox4WADxOTmI68GN00008d3a AT hotmail DOT com>
<20010903210225 DOT B3824 AT redhat DOT com>

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.

Chris,

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.

Thanks,
David


--
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