I've tried using the mingw-w64 toolchain to build a Windows application on Fedora 41. Following my usual practice I installed mingw64-gcc and used the x86_64-w64-mingw32 toolchain to cross-compile.
I was disappointed to find that the resulting binary required UCRT. In fact, apart from timestamps, the x86_64-w64-mingw32 toolchain generated exactly the same binary as x86_64-w64-mingw32ucrt.
I realise that mingw-w64 now has UCRT as the default, but I had expected the x86_64-w64-mingw32 toolchain to be built with the right configuration to support MSVCRT.
Or am I doing something wrong? Do I need to change my procedure somehow?
Cheers,
Ron
I've looked at the RPM spec file for mingw-crt in Fedora 41 and now believe the build-time configuration is incorrect.
I've raised a bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=2314420
Cheers,
Ron