install
http://sourceforge.net/projects/mingw/
から
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download
をダウンロード。
インストーラーを起動。
C++コンパイラとMSYS Basic Systemに追加でチェックを入れてインストール。