delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/12/17:22:23

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60CMMMnm080547
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60CMMMnm080547
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=WFH3cmmD
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B8284BA2E3F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768256541;
bh=WainEdkt1dFxWsjjYwebdeC0U2elb/iMoCyLL+yzCho=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=WFH3cmmDhmX4lojXxc725yTpbKdUYAqXzJFwmJQl0WaeZDuq2fu6WtJihFAYgLe/1
BqpfIsNLCKIJDTv4fj/kZxZMCEJKxSCJiFHRArP0qRWSbg/opF9z3oN3D7IKp9PR0C
Mm7XF8FE60qg+xBsCSk/9oErl2qAw7AGASujcXus=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9D44B4BA2E2E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9D44B4BA2E2E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768256479; cv=none;
b=uzPPtSx5y1pF0xDBOy9lVAkil+KmVHxoMJhTJpr7CrNpdsQ4wm2Iz/gGG21CL1HYeEoOtEvTfAQi0Y9L993u7JB6qzHLq5Mvlh84Bj9qQmVau4RNSN83pILbj0nfPbjPAgEDKg5yM+dQpeoIvrKZ8K9fvwAbmAHWoeG6APBnSAk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1768256479; c=relaxed/simple;
bh=f7ZagD8CHFl+kK5Q+L43oXlUNqKlfs54BAXU+3XbswE=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=ZoOIzjCNN6+TOQiEPzzpazyYNgbYqKujpX0eTE+EG6ALk27EghlzorrI3GQD0egic06sWuf6ouhlHPDEzI+4nQSZ1CWu2i4bqf5k+uAKArDBj5nQy81KEIAU8cwZfcYsbT3/lFLpbTtdD4gCaNf1Paf/w+I2dqPM1gyjMZEh9i0=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D44B4BA2E2E
Message-ID: <d26ff76c-9aea-4f85-a2dc-512744b6dc22@SystematicSW.ab.ca>
Date: Mon, 12 Jan 2026 15:21:16 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Not in PATH syndrome?
To: cygwin AT cygwin DOT com
References: <bdecadfa-e28c-45b9-a857-be65bf033b94 AT xs4all DOT nl>
Organization: Systematic Software
In-Reply-To: <bdecadfa-e28c-45b9-a857-be65bf033b94@xs4all.nl>
X-Rspamd-Server: rspamout07
X-Rspamd-Queue-Id: B1CC020012
X-Stat-Signature: uijyjgozs56k3d3ssqgmmzips56bi7ug
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+Vx66ZWLKacTL5h3Me6oFvjlPtOiUegCI=
X-HE-Tag: 1768256477-623888
X-HE-Meta: U2FsdGVkX1+CvoOyNXV+fHnnSZH0AVR9UFkQ08/KgxHEvxdDmjiLVCREnUptV7uJmYvDS1I9j/wRyP2ED4pxcoYX+/cEc2JHtIHsew+PwFwU3Q6QlMX0aUbfIrp8nn+njV5SmukwvWODe7D6TMfX5qvKpCsNn5hS013e2ZxNQ0/e+YmYggex3D9drfmoDKsI7LB5v69CaeCrVgAwC0oFO4PtGQn2iUARvPIWlIEmOyXH3K+9w+SAqdeMs3bq3XRXrouKOokWdpYRII0zcmd9CW/Alqrtlv9RxuQmqVLFy3nEg454aMSNfgWKdxx1C3Yuy2KL+bT5PtiT0j6S0qdvgF25KSMET7Nn
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 60CMMMnm080547

On 2026-01-12 03:41, J.H. vd Water via Cygwin wrote:
> Hi,
> 
> Please, help me jog my memory ...
> 
> I have Cygwin installed in e:/Cygwin and in e:/Cygwin2; there is no
> difference between the two, except for the topdir.
> 
> 1. Using Cygwin in e:/Cygwin2: <= TWO
> 
> @@ mount -p   # my prompt = '@@ '
> Prefix Type Flags
> /drv   user binmode

[The following mount is more compatible with Unix systems:
$ mount -p
Prefix              Type         Flags
/mnt                nouser       binmode
]

> PATH=/usr/bin:...
> 
> @@ PATH=/drv/e/Cygwin/bin:$PATH which --version # fails (retval 127)
> @@ ls /drv/e/Cygwin/bin/which*
> /drv/e/Cygwin/bin/which.exe
> 
> @@ PATH=$PATH:/drv/e/Cygwin/bin which --version
> GNU which v2.29 ...
> 
> ---
> Of course, the same thing happens while using Cygwin in e:/Cygwin
> 
> @@ mount -p
> Prefix Type Flags
> /drv   user binmode
> 
> PATH=/usr/bin:...
> 
> @@ PATH=/drv/e/Cygwin2/bin:$PATH which --version # fails (retval 127)
> @@ ls /drv/e/Cygwin2/bin/which*
> /drv/e/Cygwin2/bin/which.exe
> 
> @@ PATH=$PATH:/drv/e/Cygwin2/bin which --version
> GNU which v2.29 ...
> 
> Why does the invocation of the executable fail "if referred to outside
> the current installation ..., while the necessary dll's, libraries are
> present, or so it seems to me".
> 
> I seem to remember that Cygwin looks for the necessary libs in the lib
> directory, that is "peer" to the bin directory ...
> 
> Hope someone can shed some light here ...

Would be helpful in each case to see:

	$ cygpath -m /
	$ pwd
	$ cat -A <<< "$PATH"

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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