libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

Jonathan Yong 10walls@gmail.com
Mon Jun 28 17:06:57 GMT 2021


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.


More information about the Cygwin mailing list