Search results
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.
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?
Jul 27, 2024 · I'm making a 64bit based application for my small commercial, but it's better to use MinGW64 or MSVC2019 64 bit, what are the advantages and disadvantages of these two? I'm using dynamic not static applications. When I use MSVC on several laptops/computers, it requires vc_redistx64.
Apr 16, 2017 · I started to experiment with a MinGW 64 bit self-compiled Qt version, which was compared to the MinGW 32bit version bulky and slow. Since there was no direct need for 64 bit I switched simply back to 32 bit.
Setting up MinGW/Msys2/etc. is always a pain, and it's not something you can expect most users to do. Even shipping something compiled with mingw comes with a lot more dlls than it's comfortable. Msvc is just better integrated in the system and makes compiling things a lot easier for Windows.
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.
People also ask
Is MSVC better than MinGW-w64?
What's the difference between MinGW-w64 & MinGW-builds?
Does MinGW install Linux?
Is MinGW 64 bit better than 32 bit GNU-C++?
Does MinGW-w64 support thread?
Is GCC/MinGW a good compiler?
May 24, 2016 · MinGW because it's the closest to GCC and gives me a good indication of whether or not my code will compile cross-platform without having to wait for the build system. My code has to run on OSX, Linux and Windows. Visual C++ because it often has higher performance with math calculations than MinGW. It's often comparable to GCC on Linux though.