Am 11.09.21 um 10:43 schrieb Howard Spoelstra:
Perhaps it would be better to fix configure for the MSYS2 case so the
flags or the renaming are not required?
Currently MSys2 packages qemu successfully for 3 different toolchains:
MINGW64: msvcrt / libstdc++
UCRT64: ucrt / libstdc++
CLANG64: ucrt libc++
see https://www.msys2.org/docs/environments/ and
https://packages.msys2.org/base/mingw-w64-qemu
For CLANG64 configure needs different flags - all other flag-definitions
failed:
AR=llvm-ar RANLIB=llvm-ranlib NM=nm OBJCOPY=objcopy STRIP=strip
WINDRES=windres \
./configure.sh --cross-prefix=x86_64-w64-mingw32- --enable-gtk --enable-sdl
see
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-qemu/PKGBUILD
Just a note to keep in mind if someone wants to fix.
Regards Helge.