delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=i8zio4Byax9171SLlL8B2GjDMozRGSyZGC3hKqm97QivqBtwSGqaP | |
E2ju8Va8auaMxy36I1H6/9iIJf4Grn6hXCOhm+m6RqHLY5xaXOLpv3ubwMfDH4OO | |
N48QCczl9OSov17t05hEE5syJB6xKUOOF9mCXn2XTE8sO5jWN8nW4o= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=xQDtaUfmRtdKFpkJmM8R/pLHVUM=; b=O1bSmg8h9AWnE4SmVBseuUvw2y4o | |
lUTGvHxhiEcgRarxTKQEue1zoBkgiHYk3ZQXrKxWE93f+UV63gMWYvAiqjCqHe9G | |
AXdiJsDo5ooGa3n535WXf/g3LZIiBUWgWOR4+jV+NwvDk6CIbyL8mX2JnRi+Sero | |
b9XTYmcuS3Bc1DY= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Mon, 18 Aug 2014 11:22:42 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Running a cygwin application on Windows |
Message-ID: | <20140818092242.GA2280@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <53ED67D3 DOT 2020405 AT si6networks DOT com> <877g28enhq DOT fsf AT Rainer DOT invalid> <20140816104904 DOT GV28562 AT calimero DOT vinschen DOT de> <53EF5552 DOT 4070807 AT si6networks DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <53EF5552.4070807@si6networks.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--6TrnltStXW4iwmi0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 16 08:57, Fernando Gont wrote: > On 08/16/2014 06:49 AM, Corinna Vinschen wrote: > > On Aug 16 12:29, Achim Gratz wrote: > >> Fernando Gont writes: > >>> My idea was to use cygwin, since I'm not much of a Windows programmer. > >>> Is there any way to produce and ship an exe with the relevant librari= es? > >> > >> If I understand correctly what you're trying to do, you need to obtain= a > >> commercial license from RedHat for doing so. Otherwise, if you ship > >> binaries linked against cygwin1.dll you need to also include all sourc= es > >> (for Cygwin and your own application) with each such shipment. > >=20 > > You only need the buyout license if you want to provide binaries only. > > But this is a GPL'ed project, so I assume there's no desire to create > > binary-only packages. >=20 > To be as honest and straightforward as possible :-): My goal is to > provide as may options as possible. I will be producing a Cygwin package > since that seems to be a fair way to contribute to this project. But I > also want to address the user that just knows how to run commands from > the windows command line and wants to quickly download & install my > toolkit to try it. -- hence my goal of also producing some sort of > "binary" distribution (even if the binary package also includes the sourc= e). The binary package doesn't have to provide the sources, but your download site would have to provide the sources of the Cygwin DLL version you packed with your binary package. The problem is, a user with an existing Cygwin installation might run into trouble after installing your standalone package. A user installing Cygwin after installing your standalone package might run into trouble, too. Even though Cygwin tries its best to keep installations separate, this breaks if multiple Cygwin DLLs of different version numbers are in $PATH, or if the user tries to use Cygwin tools from different installation paths on the same command line. That's an unfortunate side-effect of Cygwin trying to emulate a bit of an OS :} So we'd like to ask you to install a Cygwin DLL only if there's no Cygwin installation present. Ideally you check if HKLM/Software/Cygwin/setup/rootdir or HKLM/Software/Cygwin/rhsetup/rootdir or, if it's a 32 bit installation on a 64 bit Windows HKLM/Software/Wow6432Node/Cygwin/setup/rootdir or HKLM/Software/Wow6432Node/Cygwin/rhsetup/rootdir exist and just install your tool into the Cygwin /bin path. Alternatively, if you find a Cygwin installation, you could just point the user to the cygwin distro to install from there. Both solutions don't fix the problems which might occur when installing Cygwin after installing your tool, but we might be lucky there ;) > I'm in the process of reading the online information to produce the > Cygwin package. Are there any pointers to get the other stuff done? "other stuff?" Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT8cXiAAoJEPU2Bp2uRE+gBCkQAI21TBM1cgRTqkSXexjiw7QN tnfM1lg3mQBPLUaNQ27KG7wTnEtj2ckr72u8qvdfegPRPw4jX9Gk5eksZrr5uoOg x+R+9gmG5LDgDGLfoQ6qpcm8jfddvM7VnHx8rIaQ8xuMqnxfwnL9ORSUT0SlrjGF OEoIYYFdJN2tAUUBMNDl5iMYZVWZEWOJrY0mr5DbaEN1nRzQuUXTDnFjRoJanv5d NyCIkb+ckdRKXUifarkMwfVXfhexr4c1sInDNAFjojHUqgsjy+Bwkekn3qv+BWhh SnChXB6bd7Wh9lzH4ltiTRkmMvE0aRiGNZJpo4G/nl4AOHBhwJQ1Y/X++CLfv7hn t4C05CXKJcGacL93fa9jumSnBnixdv6OLOE0S0KR9jnPddAbofU/jqkthZ7gcGZw yAeSi+GfZiLuezR33qgBl26ouWNj3aFd9fL7WXeLLdSaA0ZrYq0kqsppxV6KsRLy 7kC4Vkekyuo5RWCWZ62VW6uZ1SHaVEX94MQFwNbde0/oMInXmQxB/BdqgTZHRvcX omXWtw7Lcro4Iv5hMXIO9glusDC8aTsQLFRRnh0LXC/TZr3TAnqInzF8oGFlJGMz rZjN85pV0K8pJh5vQVLShCcg7aI7ShR+7JNERZ6TuEMiXRqJlVqWp/mjFVY79qox u7Z/B0f0uosHS7fcmRWP =CSY3 -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |