delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/27/08:00:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <390835C5.10D6D78F@vinschen.de>
Date: Thu, 27 Apr 2000 14:42:45 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: John S Cooper <John DOT Cooper AT eu DOT citrix DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Various questions - docs, paths
References: <uvh13kiu3 DOT fsf AT KONTIKI DOT cam DOT eu DOT citrix DOT com>

John S Cooper wrote:
> 
> o The FAQ and User's Guide seem to refer to B20 -- are there equivalent docs
>   for the new 1.1.0, or does everything in the older docs still apply?

The new FAQ is work in progress.

> o What's the deal with these new "/cygdrive" path prefixes?
> 
>   ,----
>   | bash-2.03$ type bash
>   | bash is /cygdrive/h/cygnus/bin/bash
>   `----

/cygdrive is the standard prefix for paths which are
unresolvable via the mount table.

>   They don't seem to appear in my mount table:

That's logical because you create the mount table by yourself
whereas /cygdrive is used automagically.

> o We have a Makefile that needs to pass the current directory to a (non-cygwin)
>   program.  If we use $PWD, we get the /cygdrive style path, which the program
>   doesn't grok.  Do I have use conditionally (our Makefile also runs on Linux)
>   call cygpath to convert to Windows style paths in all places we invoke this
>   program?

AFAICT, yes, indeed.

> o Is there a way to tell cygwin to always use Windows style paths (with drive
>   letters) rather than the "unix" paths that are only understood by other
>   cygwin programs?

No.  Cygwin is a POSIX layer. On the other hand cygwin doesn't complain
if you use sth like 'C:\\foo\\bar\\baz' on the command line.

> o I've seen people allude to a CYGWIN variable -- where is this documented?

Umm, let's see... ah, ok here we go:

http://sourceware.cygnus.com/cygwin/cygwin-ug-net/using-cygwinenv.html

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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