www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4AC4BEE8.3040300@gmail.com> |
Date: | Thu, 01 Oct 2009 15:38:32 +0100 |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Error in [1.7] involving /netrel/src/cygwin-1.7.0-61/winsup/cygwin/mount.cc |
References: | <4AC4AADE DOT 4050401 AT bonhard DOT uklinux DOT net> <4AC4B592 DOT 9070409 AT bonhard DOT uklinux DOT net> |
In-Reply-To: | <4AC4B592.9070409@bonhard.uklinux.net> |
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 |
Fergus wrote: > The executable is then co-located with cygwin1.dll and together the duo > provide me with a portable application. (Actually a fast and elaborate > stats package, amazingly compact with exe + cygwin1.dll ~ 3 MB, and > fully operable on host machines a million miles from the nearest Cygwin > installation.) > Typically they reside at the root of a USB stick, but I noticed the > reported failure on moving from [1.5] to [1.7]. If I move both files > down one or more levels (and it doesn't matter what I name the > subdirectory(ies) whether as \bin\ or \anything\else\) then everything > works just fine. > I'm sure you're right, that it's something to do with where cygwin1.dll > [1.7] expects to find itself (cf. [1.5]) and the "cure" is similarly > very suggestive of this. I'm dead happy to live with it once I > understand it, if only approximately. Yes, it's absolutely certainly this. We should probably add a fallback mode that treats the same directory as the dll is found in as the root when it's not possible to ascend one level, because I suspect this mode of distribution won't turn out to be entirely unheard-of. cheers, DAveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |