I have recently been experiencing problems with the configure step of two
open source projects, GNU GetText and W3M.
The configure step fails at the same place for both projects.
*checking for ld used by GCC...*
*System details:*
- Operating System: Windows 10 Pro 64-bit
- MSYS2
- gcc --version: gcc.exe (Rev4, Built by MSYS2 project) 5.2.0
- gcc -dumpmachine: x86_64-w64-mingw32
- bash --version: GNU bash, version 4.3.42(2)-release (x86_64-pc-msys)
Any ideas on what might be causing this?
The following is the code that configure uses to perform this test.
# Check if gcc -print-prog-name=ld gives a path.
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
> $as_echo_n "checking for ld used by GCC... " >&6; }
> case $host in
> *-*-mingw*)
> # gcc leaves a trailing carriage return which upsets mingw
> ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
> *)
> ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
> esac
>
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users