I\'m new to Stack Overflow, C++ and to MinGW W64. My problem is, is that I don\'t know how to build MinGW W64, all I know how to do is double click an exe and install the fi
Today I was also looking for building a native tool-chain, but then ended up using personal build provided there.
For building you can follow this guide - https://sourceforge.net/p/mingw-w64/code/HEAD/tree/trunk/mingw-w64-doc/howto-build/mingw-w64-howto-build.txt
TDM-GCC 4.6.1 (GCC / MinGW / MinGW-w64 compiler suite for 32- and 64-bit Windows) was built on Windows 7 64-bit using MinGW & MSYS. The source distribution provide GCC, all support libraries and .sh script files that invoke the Makefile with appropriate arguments.
BUILD NOTES (TDM Sources/README-gcc-tdm-src.txt) :
Building the TDM edition typically looks like this:
* [Extract all sources to /crossdev/src]
* [Copy or build a previous MinGW installation to a "build root"]
* [Ensure the prefix ("/mingw") is empty]
* [Ensure the buildroot's "bin" directory is in PATH]
* ./build-tdm-[dw2/sjlj].sh support-libs prefix
* [Copy everything from the prefix to the "build root"]
* [Extract the binutils, mingwrt, and w32api bin/dev packages to the prefix]
* ./build-tdm-[dw2/sjlj].sh gcc