This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File paths redirected to MSYS directory


> You're probably invoking MSYS's versions of vi and make. You can check
> that with the which command. Ensure that you do have the Cygwin
> versions of those installed, and that the Cygwin bin directory comes
> before MSYS's in the Cygwin PATH. To avoid such confusion, you might
> want to remove MSYS's bin directory from the global Windows path,
> assuming that's where it came from.
> 
> Andy

Thanks for your help. I have fixed the Windows path but Cygwin seems to 
be altering it when loading it in to its own $PATH environment variable. 
Compare below, my path as obtained from Windows cmd console and from 
Cygwin. Notice the line 'C:\cygwin\bin' in the first one (end of the second 
line) has been turned in to '/usr/bin' in the second one (end of the third 
line). Why would this be happening? Also, is it a problem that the first two 
entries in the Cygwin path are '/usr/...' rather than '/cygdrive/c/cygwin/usr/...' ? 

Windows:
C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\Wbem;C:\Program Files\Novell\
ZENworks\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin;C:\cygwin\bin;C:\msy
s\1.0\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Novell\GroupWise;C:\
Program Files\Putty;C:\GTK\2.0\bin;C:\Program Files\SSH Communications Security\
SSH Secure Shell;Z:.;Y:.;

Cygwin:
/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/System32:/cygdrive/c/WINDOWS:/c
ygdrive/c/WINDOWS/SYSTEM32/Wbem:/cygdrive/c/Program Files/Novell/ZENworks/:/cygd
rive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/MinGW/bin:/usr/bin:/cygdriv
e/c/msys/1.0/bin:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program F
iles/Novell/GroupWise:/cygdrive/c/Program Files/Putty:/cygdrive/c/GTK/2.0/bin:/c
ygdrive/c/Program Files/SSH Communications Security/SSH Secure Shell:Z:.:Y:.

Thanks,

Nathan



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]