Re: libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

2021-06-28 Thread Dietmar May via Cygwin
>/$ cmd //c echo hello />/hello />//>/which works, and this, which doesn't: />//>/$ cmd /c echo hello />//>/Microsoft Windows [Version 10.0.blah] />/(c) Microsoft Corporation. All rights reserved. />//>/C:\msys64\home\myname> / Your example seems to be inverted, the first form doesn't work, the

Re: libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

2021-06-28 Thread Dietmar May via Cygwin
Thanks for submitting the bug report. I can now see what may be a duplicate report under: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10949 responding that //c is deliberate so MSYS does not convert a posix path, so in the Cygwin Mingw build case, the response may be "Don't Do That"! I ju

Re: libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

2021-06-26 Thread Dietmar May via Cygwin
ng by fixing this seems like nil. On 6/26/2021 3:17 PM, Brian Inglis wrote: On 2021-06-25 14:46, Dietmar May via Cygwin wrote: The build completes successfully by replacing the "cmd /c | sed" constr

Re: libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

2021-06-25 Thread Dietmar May via Cygwin
The build completes successfully by replacing the "cmd /c | sed" construct with simply: func_convert_core_msys_to_w32_result=$1 so no path translation takes place. The function then becomes: func_convert_core_msys_to_w32 () {   $debug_cmd func_convert_core_msys_to_w32_result=$1 } SUMMARY

libtool with mingw hangs building openocd in func_convert_core_msys_to_w32

2021-06-25 Thread Dietmar May via Cygwin
SUMMARY func_convert_core_msys_to_w32 in /usr/share/libtool/build-aux/ltmain.sh has an extraneous '/' in the call to ( cmd //c echo "$1" ) causing make to hang indefinitely when configured with --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 The project builds successfully on msys2 &