Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [213.237.2.165] From: "Jonas Jensen" To: "Cygwin List" References: <399FFC19 DOT 2F0BED8E AT delorie DOT com> <200008211518 DOT LAA27257 AT envy DOT delorie DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20000821113529 DOT 00b34800 AT pop DOT ma DOT ultranet DOT com> Subject: Re: Path in the wrong order Date: Mon, 21 Aug 2000 18:25:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: X-OriginalArrivalTime: 21 Aug 2000 16:24:43.0557 (UTC) FILETIME=[50385550:01C00B8C] > > > > Yes, I do that on purpose, but /bin (/usr/bin) is still more left than > >/sys, > > > > right? So that shouldn't matter, right? > > > > > > /bin didn't show up in cygcheck at all. Did you look at the output of > > > cygcheck? It shows the path it's using. > > > >My /usr/bin is the same thing as /bin, just like setup installs it. /usr/bin > >is in the path with higher priority that /sys... > > I suggest taking /sys out of your path and see if it makes a difference. I > agree with you that the description you've given should make it find the > Cygwin version of find before the NT but maybe there's more going on here > than you realize. Removing /sys will help you troubleshoot that. Well, I can't really take out /sys, because that's my system32 folder, and I doubt that Windows would boot if I did that. I umounted /sys and took ~/bin out of my path, nothing's changed. Here's another funny thing: "command -V" in Bash returns the NT find, while cygcheck finds the right one. Aren't they supposed to find the same program, following PATH? Here's what I'm talking about, along with some other output to assist: bono AT BOB ~ $ command -V find.exe find.exe is /c/WINNT/system32/find.exe bono AT BOB ~ $ cygcheck find.exe Found: d:\cygwin\bin\find.exe d:\cygwin\bin\find.exe d:\cygwin\bin\cygwin1.dll C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\NTDLL.DLL Use -h to see help about each section bono AT BOB ~ $ echo $PATH /usr/local/bin:/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/system32/WBEM:/prog/ Support Tools/:/prog/Resource Kit/:/usr/bin:/usr/X11R6/bin:/prog/Microsoft Visual Studio/Common/Tools/WinNT:/prog/Microsoft Visual Studio/Common/MSDev98/Bin:/prog/Microsoft Visual Studio/Common/Tools:/prog/Microsoft Visual Studio/VC98/bin bono AT BOB /bin $ ls -l |grep find.exe -rwxr-xr-x 1 bono None 53760 Jan 18 2000 find.exe -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com