delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/01/11:06:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 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> <4AC4BEE8 DOT 3040300 AT gmail DOT com>
In-Reply-To: <4AC4BEE8.3040300@gmail.com>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019