From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by sourceware.org (Postfix) with ESMTPS id 31CE23858004 for ; Wed, 18 Nov 2020 16:31:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 31CE23858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=moss@cs.umass.edu Received: from [192.168.0.13] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id B5A7840170AD; Wed, 18 Nov 2020 11:31:21 -0500 (EST) Reply-To: moss@cs.umass.edu Subject: Re: Sv: g++ and c++17 filesystem To: cygwin@cygwin.com References: <000001d6bcf4$736e0300$5a4a0900$@gmail.com> <11aad449-bcce-5dd3-8ebf-c751e18b5623@gmail.com> <001701d6bd89$53312ff0$f9938fd0$@gmail.com> From: Eliot Moss Message-ID: <1f6849f1-2d79-8249-8009-d8a99daefed0@cs.umass.edu> Date: Wed, 18 Nov 2020 11:31:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2020 16:31:23 -0000 On 11/18/2020 11:24 AM, René Berber via Cygwin wrote: > Cygwin handles the file system with no problem, but using Posix-like notation, not Windows-like. > End of story. And I'll add, this is by design: Cygwin's goal is to provide a programming (and command line) environment as much like Posix as reasonably possible. It does include some tools to help interface with Windows more explicitly, such as cygpath and cygstart. I have defined a bash alias ppt that refers to a bach function powerpnt, defined thusly: powerpnt () { local ARG; [ -n "$1" ] && { ARG="$(cygpath -wa "$1")"; shift }; [ -n "$VERBOSE" ] && { echo powerpnt ${ARG:+"${ARG}"} "$@" }; command powerpnt ${ARG:+"${ARG}"} "$@" & } This takes the first argument and converts it from Posix to Windows form, for passing to the powerpnt binary. And then I have a file system link so that "command powerpnt" gets to the installed Windows binary C:\Program Files. But this is by far the exception as opposed to the rule in how I use Cygwin. In hope that this give you some perspective and insight as to what Cygwin is and why. Best wishes - Eliot Moss