delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
Date: | Thu, 14 Sep 2000 14:08:17 +0100 |
Message-ID: | <1341-Thu14Sep2000140817+0100-starksb@ebi.ac.uk> |
X-Mailer: | emacs 20.7.1 (via feedmail 9-beta-7 I); |
VM 6.75 under Emacs 20.7.1 | |
From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
MIME-Version: | 1.0 |
To: | cygwin-developers AT sources DOT redhat DOT com |
Subject: | path bug in cygcheck? |
This is probably very minor, but 'cygcheck program' behaves strangely, at least when I use it: > $ echo $PATH > /usr/bin:/usr/local/xemacs-21.1.7/bin:/usr/local/bin:/c/jdk1.3/bin:/c/WINNT/system32:/c/WINNT:/c/NTRESKIT Note the presence of SysDir. > $ type -a cmd > cmd is /c/WINNT/system32/cmd Fine, but: > $ cygcheck cmd > Error: could not find cmd In fact, it seems to not find anything in SysDir: > $ type -a ftp > ftp is /usr/bin/ftp > ftp is /usr/local/bin/ftp > ftp is /c/WINNT/system32/ftp but: > $ cygcheck ftp > Found: C:\cygwin\bin\ftp.exe > Found: C:\usr\local\bin\ftp.exe > C:\cygwin\bin\ftp.exe > C:\cygwin\bin\cygwin1.dll > C:\WINNT\System32\KERNEL32.dll > C:\WINNT\System32\ntdll.dll (nothing about C:\WINNT\System32\ftp.exe) I'm looking at the source now, but perhaps it's a known problem or by design. It came up because I was hoping to update the FAQ entry "How can I find out which dlls are needed by an executable?" with advice on using cygcheck for this. (A lot less verbose than objdump -p if that's all you need.) Cheers, David
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |