From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <10walls@gmail.com> Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 41A63385481F for ; Mon, 28 Jun 2021 17:07:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 41A63385481F Received: by mail-pl1-x633.google.com with SMTP id y13so9287238plc.8 for ; Mon, 28 Jun 2021 10:07:00 -0700 (PDT) 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) Received: from ?IPv6:2001:f40:91b::2:70d2? ([2001:f40:91b::2:70d2]) by smtp.gmail.com with ESMTPSA id 136sm14769379pfa.158.2021.06.28.10.06.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 10:06:58 -0700 (PDT) To: cygwin@cygwin.com References: <1f91bcfb-374f-7985-5b4e-c6e323de3cd8@outlook.com> From: Jonathan Yong <10walls@gmail.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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2021 17:07:01 -0000 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.