X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 206ED39B4062
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1624900093;
	bh=LEQjGCWyS4yxjsJvNmO2KbwNYFKIgWZRrZUf+tk46Zs=;
	h=To:References:Subject:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=T6QE7+DdypbedDJ9K+Qw9rOnvPTFGrMEymU2+bFqAPpjr3ouY8CsKZb82/X8DFqcv
	 6V9uOAxXGFiHr2OpQLfqwbUsBMb+FmySsvcqMYlEZSTNUHHteMBVCPa7gZOH0IAksV
	 GoiC5WJKAH7vMfY45Ks8IlELf5j+8dlEVK/KTmlc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 41A63385481F
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:references:from:subject:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=7sDI5TK2gM1XgeNHurdnn7KuxIIv87xS4xQkPcl7zBw=;
 b=jmgGg18jIRArzJIYlUJTAk3im1XmiElyc7Pju7Q/wfScxDB+zdn4G8diTGOZGmehxC
 OUZ9lShhCtNYFgMwsU4Kmpk5n6NnOAJ2TxRMLzajLFK0y2fGBY6M44ZuFNr74VN46Cg8
 WdMYznFiyIt7ue8rq8JJOg8s7PZxvWb7zIoerj9Dy48AmsBxXYlY+U+Dq3m6dVb1euQ1
 j0n/73jjDJAQuFOAe9DnjBpQ+FPQuGtRZOeUGxHFVq+HdHGTAblH+Yuyin4DIUSXHs2R
 NP+4gjR04Z3BNmTrEvkloIVwkgWRX8lTrjzigOAHiQ5ekfLufwk63KDZDknveraPI/uO
 hAag==
X-Gm-Message-State: AOAM530ExTJytGAAmX6HPO2qUWKSAZkh1mGj6Zu0GX+/9C2hxH1Rk8PK
 6jNo7eBrcIHXpofk7+Uex2awvzjo1NU=
X-Google-Smtp-Source: ABdhPJxCHXkpQxUSWPJdgBmRTkFAQ4HF+Gzf1PGqhqNLz+a5ltk7vjwmgmoS1W3jya8SD7RknMFy3g==
X-Received: by 2002:a17:90a:cb10:: with SMTP id
 z16mr12961220pjt.22.1624900019283; 
 Mon, 28 Jun 2021 10:06:59 -0700 (PDT)
To: cygwin@cygwin.com
References: <1f91bcfb-374f-7985-5b4e-c6e323de3cd8@outlook.com>
 <SN6PR13MB42697EC6467C4B92D1F8F757E5039@SN6PR13MB4269.namprd13.prod.outlook.com>
Subject: Re: libtool with mingw hangs building openocd in
 func_convert_core_msys_to_w32
Message-ID: <2354976f-cdee-8ad4-c7db-06c52000dd16@gmail.com>
Date: Mon, 28 Jun 2021 17:06:57 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <SN6PR13MB42697EC6467C4B92D1F8F757E5039@SN6PR13MB4269.namprd13.prod.outlook.com>
Content-Language: en-US
X-Spam-Status: No, score=-3031.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
 NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Jonathan Yong via Cygwin <cygwin@cygwin.com>
Reply-To: Jonathan Yong <10walls@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 6/28/21 4:29 PM, Dietmar May via Cygwin wrote:
> It seems evident that msys2 is performing slash escaping - ie. 2 
> consecutive slashes are consolidated into a single slash (rather like 
> quote escaping in various languages - eg. SQL, CSV, C#, YAML) 
> recursively (ie. repeatedly) during argument evaluation.
> 
> Again, why not simply change this to a form that works without the slash 
> hackery?
> 

MSYS2 is NOT MSYS NOR a continuation, it is developed by separate groups.

MSYS was based off an ancient Cygwin fork from the 1.3 days, while MSYS2 
started life from Cygwin 1.7.

MSYS has been around for a long time, and is heavily used by the 
original mingw.org mingw distribution. Libtool is catered to work with 
MSYS simply because it has been around far longer than MSYS2.

I'd say if anything, libtool needs to check if it is on MSYS2 or MSYS 
and then work appropriately. MSYS2 should be treated as close as 
possible to Cygwin.

-- 
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
