delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/19/11:32:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 19 Mar 2008 12:31:19 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: FAQ suggestion
Message-ID: <20080319163119.GB24865@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <a71bd89a0803181415w18070c8u59c3091defcb1a5b AT mail DOT gmail DOT com> <20080318232317 DOT GA22446 AT ednor DOT casa DOT cgf DOT cx> <a71bd89a0803181715w3d267899vb01cddaa12810423 AT mail DOT gmail DOT com> <47E05D4D DOT 8000000 AT byu DOT net> <a71bd89a0803181737o4e15c0dcl67bb58f66a57afbc AT mail DOT gmail DOT com> <20080319040517 DOT GD22446 AT ednor DOT casa DOT cgf DOT cx> <a71bd89a0803182114p7edcffefh6288dbffd2614219 AT mail DOT gmail DOT com> <20080319042138 DOT GF22446 AT ednor DOT casa DOT cgf DOT cx> <a71bd89a0803182147y3ce38693gcac18c62072440a2 AT mail DOT gmail DOT com> <20080319142431 DOT GG19345 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20080319142431.GG19345@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Mar 19, 2008 at 03:24:33PM +0100, Corinna Vinschen wrote:
>On Mar 18 21:47, Dan Kegel wrote:
>> --- snip ---
>> 
>> 9. Deploying Cygwin
>> 
>> 9.1  I want to bundle Cygwin with a product, and ship it to customer
>> sites.  How can I do this without conflicting with any Cygwin
>> installed by the user?
>> 
>> A.  Third party developers who wish to use Cygwin should check if
>> there is a version of cygwin installed and use the installed
>> version if it is newer, or conditionally upgrade if it is not.
>> (If you write a tool to make this easy, consider contributing
>> it to cygwin for others to use.)
>> 
>> 9.2 Can I bundle Cygwin with my product for free?
>> 
>> A. Only if you comply with Cygwin's license very carefully.
>> If you choose to distribute cygwin1.dll, you must also
>> distribute the exact source code used to build that copy of cygwin1.dll.
>> If you ship applications that link with cygwin1.dll,
>> you must either provide those applications' source code under a
>> GPL-compatible license, *or* purchase a cygwin license from Red Hat.
>> 
>> 9.3.  Can I install a private version of cygwin that doesn't conflict
>> with the system cygwin (in the same way that multiple versions
>> of Wine can coexist)?
>> 
>> A. The Cygwin maintainers will resist any suggestion to support
>> this, no matter how sensible it might sound to you, because
>> they feel strongly that the only supportable situation is
>> for everybody to use the same cygwin instance, and for it
>> to be as up to date as possible.
>> 
>> 9.4. But doesn't that mean that if some application installs
>> an older Cygwin library than my system had, my application will break?
>> 
>> A. Yes.  If you run into such an application, uninstall it,
>> point the author to this FAQ, and try to get them to follow
>> the cygwin deployment rules.
>> 
>> --- snip ---
>> 
>> Is that getting closer?
>
>That's quite close, especially the answer to 9.3 :)
>Care to create a matching docbook entry for the FAQ?

Actually, I think 9.3 suggests a disagreement and hints at a point of
view from the FAQ writer.  Also, what does Wine have to do with
anything?  Wine is a Linux package.

                         * * *

9.3.  Can I install a private version of the Cygwin DLL that doesn't
conflict with the system cygwin?

You can have two different versions of the Cygwin DLL installed on your
system at the same time but they must be run serially.  This means that
you can't be running programs using both versions of Cygwin at the same
time.  Please be aware that currently both versions will use the same
mount table entries although this may change in the future.

9.4. But doesn't that mean that if some application installs
an older Cygwin library than my system had, my application will break?

It depends on what you mean by "break".  If the application installs a
version of the Cygwin DLL in another location than Cygwin's /bin
directory then the rules in 9.3 apply.  If the application installs an
older version of the DLL in /bin then you should complain loudly to the
application provider.

Remember that the Cygwin DLL strives to be backwards compatible so a
newer version of the DLL should always work with older executables.  So,
in general, it is always best to keep one version of the DLL on your
system and it should always be the latest version which matches your
installed distribution.

                         * * *

Unless there are clarifications needed to the above, I can check this in.

Thanks for the words, Dan.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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