Search results
We have the MinGW-W64 that is a fork of MinGW that supports those features and I was wondering, which one to use? Knowing that GCC is one of the most used C++ compilers. Or it's better to use the MSVC (VC++) on Windows and GCC on Linux and use CMake to handle with the independent compiler?
Some software only supports MSVC on Windows (e.g. CPython, including native modules) so you may have to use it. The only advantage is that you get a statically-linked CRT — versus linking against an old msvcrt.dll per Mingw-w64 — though historically Microsoft's UCRT has been kind of buggy, and those bugs then get baked into your binaries.
Apr 22, 2016 · MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.
MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.
Yes, IMO your best option on Windows is to stick with MSVC or ABI compatible compilers. As for missing out on the 'new and shiny stuff', if you're just learning the new things then you can just stick to learning what MSVC supports and you won't be bothered.
Mar 1, 2023 · all the modern windows toolchains use msvc standard C libraries, even the mingw ones. That's why msys2 offers both ucrt and msvcrt variants of mingw-w64-gcc and mingw-w64-clang. They do use their own C++ standard library implementations though (not sure about the Clang that ships with Visual Studio though)
People also ask
Is MSVC better than MinGW-w64?
Is OCCT better than MinGW-w64?
Is MinGW compliant?
Is GCC/MinGW a good compiler?
Is MinGW worth it?
Is Cygwin better than MinGW?
Oct 13, 2022 · In general the MSVC based Clang provides better compatibility with other Windows binary libraries and the system in general, while using the Msys2 subsystem flavor can work better if there are some other dependencies that heavily rely on GNU tools and wouldn’t work well with the MSVC compiler.