delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/16/05:05:06

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: B19; supporting a DOS-path such as C:\a\b\c;C:\d\e\f;D:\g\h
16 May 1998 05:05:06 GMT :
Message-ID: <6jj6q2$h34$1@cronkite.cygnus.com>
References: <355A1145 DOT 90387D5C DOT cygnus DOT gnu-win32 AT ActiveSW DOT COM>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <355A1145 DOT 90387D5C DOT cygnus DOT gnu-win32 AT ActiveSW DOT COM>,
Chris Callsen <Chris AT activesw DOT com> wrote:
>Let me first say that I like using bash on windows (cmd.exe makes me
>insane). Naturally, bash uses a Unix-style PATH for finding things.
>However, when bash runs "native" Windows applications these see a
>Unix-style PATH but expect a DOS style path. An example of this would be
>'nmake', or the Microsoft Tools (C compiler, linker, etc).

cygwin32 changes the PATH environment variable into native Windows format
before every program invocation.  That means if you set your PATH
to '//c/bin;//c/windows/system' and run a non-cygwin32 program, the
program will see 'C:\BIN;C:\WINDOWS\SYSTEM' as the value of the PATH
variable.

If you are seeing any other behavior than this, then you're seeing a
bug.  Please document the specific misbehavior and I'll try to fix it.
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


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