There are several options you can choose from:
The prefix i686=32-bit x86_64=64-bit shows what kind of binaries the toolchain builds. The suffix shows what OS the toolchain is built for. If you need to build 32-bit binaries on Windows, it is recommended to use the i686...win32 package.
The prefix x32=32-bit x64=64-bit shows what kind of binaries the toolchain builds. If you need to build 32-bit binaries on Windows, it is recommended to use the x32 package.
For linux, see below.
TDM-GCC comes with an easy installer, please use that. The other builds are quite straightforward to set up:
C:\mingw32 so that C:\mingw32\bin contains i686-w64-mingw32-gcc.exe 64-bit mingw-w64: eg C:\mingw64 so that C:\mingw64\bin contains x86_64-w64-mingw32-gcc.exe set PATH=C:\mingw64\bin;%PATH% for 64-bit building. set PATH=C:\mingw32\bin;%PATH% for 32-bit building. i686-w64-mingw32-gcc -v or x86_86-w64-mingw32-gcc -v to see that everything has gone well. Several distributions already provide mingw64 packages:
The toolchain consists of compilers, linkers assemblers and supporting utilities (comparable to what you get with the Windows SDK. It does not include an IDE.
If you need to compile GNU software which requires the use of a configure script for Windows, see [MSYS].
CMake can be used for generating "MinGW Makefiles", which of course work fine for mingw-w64/w32.
Wiki2: BuildingBoost
Wiki2: BuildingOpenSSL
Wiki2: BuildingQt
Wiki2: Home
Wiki2: MSYS
Wiki2: NCurses
Wiki2: Qt
There is an error:
"x86_w64-w64-mingw32-gcc -v" must be "x86_64-w64-mingw32-gcc -v"
There is an error:
"x86_86-w64-mingw32-gcc -v" must be "x86_64-w64-mingw32-gcc -v"