Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between MinGW, MinGW-w64 and MinGW-builds?

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?

like image 441
Romain Avatar asked Aug 30 '14 11:08

Romain


People also ask

Which MinGW should I install?

You can install this software anywhere, but I recommend installing it in the default directory: C:\MinGW. Click Continue. The following pop-up window will appear, showing the downloading progress. After about a minute, it should appear as follows.

What is difference between MinGW and Msys?

MINGW refers to executables that are compiled using the MINGW GCC Compiler and target the Win32 API. MSYS2 refers to executables that are compiled by MSYS2 GCC Compiler and make use of a POSIX emulation layer.

What is MSYS2 and MinGW?

MSYS2 provides up-to-date native builds for GCC, mingw-w64, CPython, CMake, Meson, OpenSSL, FFmpeg, Rust, Ruby, just to name a few. To provide easy installation of packages and a way to keep them updated it features a package management system called Pacman, which should be familiar to Arch Linux users.


1 Answers

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.

like image 60
deviantfan Avatar answered Oct 12 '22 22:10

deviantfan