X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC4C544.1060405@cwilson.fastmail.fm>
Date: Thu, 01 Oct 2009 11:05:40 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Error in [1.7] involving /netrel/src/cygwin-1.7.0-61/winsup/cygwin/mount.cc
References: <4AC4AADE.4050401@bonhard.uklinux.net> <4AC4B592.9070409@bonhard.uklinux.net> <4AC4BEE8.3040300@gmail.com>
In-Reply-To: <4AC4BEE8.3040300@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn wrote:
>   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.

I disagree. There are a lot of cases where the <bin>/../ construct is
used by cygwin software, especially libtool (ltdl)-based dynamic
loading.  Apps of that nature will probably break if installed in a
"flat" directory.

These installations should use an <instdir>/[bin,lib] internal
hierarchy, when used with cygwin-1.7.  But see below.

I notice that the pure win32 version of GTK and friends (e.g. GIMP)
install into a pseudo-unix tree for precisely this reason, and cygwin
isn't involved there at all:
   <instdir>/bin/<binaries>
   <instdir>/share/<stuff>
   <instdir>/lib/
   etc.

However...

When did we start catering to 3PPs?

--
Chuck

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

