Quote:
Originally Posted by LoRd_MuldeR
Finally, run " pacman -S mingw-w64-i686-toolchain" or " pacman -S mingw-w64-x86_64-toolchain" to install MinGW/GCC targeting 32-Bit or 64-Bit, respectively. That's it
|
That's simple, but it's not as smart as it may seem.
Downloading the entire "toolchain" means installing normally-unnecessary stuff... Most people need only the C and C++ compilers and really have no use for Ada, Fortran and etc.
So I recommend these command-lines:
1) pacman -S mingw-w64-i686-binutils mingw-w64-i686-crt-git mingw-w64-i686-gcc mingw-w64-i686-gcc-libs
mingw-w64-i686-headers-git mingw-w64-i686-libwinpthread-git mingw-w64-i686-tools-git mingw-w64-i686-winpthreads-git
2) pacman -S mingw-w64-x86_64-binutils mingw-w64-x86_64-crt-git mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-libs
mingw-w64-x86_64-headers-git mingw-w64-x86_64-libwinpthread-git mingw-w64-x86_64-tools-git mingw-w64-x86_64-winpthreads-git
And only if you absolutely need them:
mingw-w64-i686-winstorecompat-git &&
mingw-w64-x86_64-winstorecompat-git, respectively.