How to install G++ 4.9 on windows

eshimoniak picture eshimoniak · Jun 7, 2014 · Viewed 64.2k times · Source

I know this seems like a duplicate of this question and many more, but hear me out. That question points to MingGW, which, as far as I can tell, only has version 4.8.whatever of gcc with it. I tried Cygwin, but Cygwin never really worked with my IDE.

I'm trying to add the exe for G++ 4.9 to the GNU GCC Compiler that comes with CodeBlocks. I just need the g++.exe for the #include <regex>.

Answer

gath picture gath · Jan 6, 2015

Use the distro from this site, they have g++ 4.9.2 which supports