What is the difference between MinGW, MinGW-w64 and MinGW-builds?
MinGW is a GCC-port for Windows. Not all of the Windows API is supported (but for many programs the supported stuff is sufficient) and it´s only for 32bit-Programs (which often can run on 64bit-Windows too, but some can´t, and you can´t compile them as 64bit).
MinGW-w64 is a improved version which supports both 32bit and 64bit, and some more of the WinAPI (still not all, because thats much work, but more than MinGW).
MinGW-w64 only provides their source code, but no binaries to "just use" the compiler.
MinGW-builds is a somewhat separate project to provide binaries in the most useful configurations. To get a specialized build of MinGW-w64, manual compiling is still possible.
Using the MinGW-builds self-installer is the easiest way, if nothing unusual is needed. Also see here for help with the self-installer.
Comments
-
Romain over 2 years
What are the differences between MinGW, MinGW-w64 and MinGW-builds?
And which one should I use to compile c++ 11 source code with the Eclipse IDE on a Windows 8 machine?
-
M.M over 7 yearsmingw-w64 also has a much better track record of fixing bugs
-
Sz. almost 5 years"Mingw-w64 makes Linux binaries that cannot run in Windows outside the Mingw-w64 shell." No. Both the standalone MinGW[-w64] toolset and the one installed as part of MSYS[2] create native Windows binaries, which can run just fine outside the MinGW (or MSYS) shell. (Linking with
-static
helps with the DLLs not on the PATH, though, and e.g. with MSYS2, themsys-2.dll
must also be reachable.) -
Felipe G. Nievinski almost 4 years