delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/29/03:21:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-Id: <4CF3FD08020000520001711C@groupwise.swin.edu.au>
Date: Mon, 29 Nov 2010 19:20:40 +1100
From: "Nathan Rose" <NROSE AT groupwise DOT swin DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: Re: File paths redirected to MSYS directory
Mime-Version: 1.0
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

> 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.
>=20
> Andy

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

Windows:
C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\Wbem;C:\Program Files\No=
vell\
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\GroupWis=
e;C:\
Program Files\Putty;C:\GTK\2.0\bin;C:\Program Files\SSH Communications Secu=
rity\
SSH Secure Shell;Z:.;Y:.;

Cygwin:
/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/System32:/cygdrive/c/WINDO=
WS:/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:/cy=
gdriv
e/c/msys/1.0/bin:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Prog=
ram F
iles/Novell/GroupWise:/cygdrive/c/Program Files/Putty:/cygdrive/c/GTK/2.0/b=
in:/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

- Raw text -


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