in reply to Trying to use MinGW
It says it's using 3.4.5, not 5.1.4.1.
http://ppm4.activestate.com/author/MINGW.html lists 5.1.4.1, it includes gcc 3.4.5