

You should get a response like this, mentioning MinGW-builds: g++ (Built by MinGW-builds project) 4.7.2Ĭopyright (C) 2012 Free Software Foundation, Inc.

To verify that you got it right, you can open a command prompt, and write g++ -version ) F:\coding\MinGW\binĪdd both, separated by semi colon.

Unlike other gcc-based installations it supports posix threads, which are currently key to getting the gcc support for C++11 threads and friends working on Windows.Įxtract the directory mingw to any location and add the following two paths to your PATH environment variable: (well, change F:\coding. A window will pop up and download all the required packages along with their. C:\cygwin64>setup-x8664.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel. You just get the MinGW-build binaries here. Just open a Command Prompt (in Windows), navigate to the folder where the Cygwin installer is located, and run the following command: 1. That is: Including support for std::thread, std::async, std::future and friends.Īs far as I know that's by far the most complete C++11 you can get on Windows. A special version of MinGW: MinGW-Builds gives you everything gcc offers (currently 4.7.2)
