delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/19/10:28:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CCBDD3851C39
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca
X-Authority-Analysis: v=2.4 cv=INe8tijG c=1 sm=1 tr=0 ts=5fb68ef4
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=uZvujYp8AAAA:8 a=uYT-Tk0qkVT609LjNaIA:9
a=QEXdDO2ut3YA:10 a=Lz48L_9qCwoA:10 a=sRI3_1zDfAgwuvI8zelB:22
a=SLzB8X_8jTLwj6mN0q5r:22
To: cygwin AT cygwin DOT com
References: <c2d6280c-26e3-f9e7-89bd-693385a768b2 AT gmail DOT com>
<D3704C33-A283-40F0-990D-CB9806F0B09D AT gmail DOT com>
<000a01d6be5b$3808cad0$a81a6070$@gmail.com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: Sv: g++ and c++17 filesystem
Message-ID: <15d2b3e5-cbb8-0008-e99a-3922ff4a5f3b@SystematicSw.ab.ca>
Date: Thu, 19 Nov 2020 08:27:46 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <000a01d6be5b$3808cad0$a81a6070$@gmail.com>
X-CMAE-Envelope: MS4xfB+4ekxwhijlnKaNDM1lm/Ei05wLy1cYUZPUbtEbvWsWq8yNxWfYQXljLC3vij2Rj0bRvxTJsJ8Doh7DkjjvX/bDUlnW3Prd/S+yiBbtQwODSx/g5IzR
Z3y1FvzH/C1mG8u70KDQx+Y45RdhDA0p0tMbFfaj1HiALqNoea6I3nNwMZySijMkVq26rmhf3wfGFKATdF9V1ROn6EKM1DZUGdY=
X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AJFSOue023861

On 2020-11-19 03:03, Kristian Ivarsson via Cygwin wrote:
>>> 18 nov. 2020 kl. 17:26 skrev René Berber via Cygwin <cygwin AT cygwin DOT com>:
>>> On 11/18/2020 3:00 AM, Kristian Ivarsson via Cygwin wrote:
>>>>>> On 11/17/2020 9:15 AM, Kristian Ivarsson via Cygwin wrote:
>>>>>> The filesystem-library as a part of C++17 seems to have some
>>>>>> defects and flaws in the cygwin-package and pretty much every
>>>>>> lexical- and canonical operation works in mysterious ways (or not
>>>>>> at all)

>>>>> https://cygwin.com/cygwin-ug-net/using.html#pathnames-win32

>> As stated earlier, it seems like using mingw g++/libstdc++ (from the
>> cygwin-package-manager) it seems like it works better, but then you can’t
>> mix with other posix/cygwin mechanism (that uses cygstdc++) without
>> breaking ODR (and probably some memory models etc as well) so maybe
>> someone do have some insightful info about this ? How “special” is
>> cygstdc++ (compared to mingw:s libstdc++) ? Could this be fixable in that
>> library (cygstdc++) ?

> I might be totally wrong, so does anyone have any take on this ?

Cygwin provides cross-tools like djgpp-gcc-core mingw64-i686-gcc-core, 
mingw64-x86_64-gcc-core, cygwin32-gcc-core, cygwin64-gcc-core, and 
djgpp-binutils, mingw64-i686-binutils, mingw64-x86_64-binutils, 
cygwin32-binutils, cygwin64-binutils so anyone has the freedom to choose to 
build DOS, Windows, or Cygwin apps targeting their respective APIs, under 
Cygwin, and also have the freedom to give away or sell those apps as long as 
they respect their licences.

Cygwin's goal is to have everyone and everything believe it is running in a 
POSIX environment and provide interoperability within a Windows environment 
(including Wine) based on POSIX standards, system interfaces, toolchains, 
shells, utilities:

	https://pubs.opengroup.org/onlinepubs/9699919799/

system and network servers and services, plus GUI desktops (GNOME, KDE, LXDE, 
MATE, Plasma, Xfce desktops on X Window System), and apps (task and file 
managers, web browsers, PDF viewers and editors, graphics viewers and editors 
including GIMP). This is all ported and supported by volunteers who believe 
everyone should have a choice, even when for business or family reasons they use 
Windows.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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