P.S. The files on the download page of TDM-GCC are now updated to 4.5.2, you'll have to download the runtime libraries for 4.5.1 from this page: http://sourceforge.net/projects/tdm-gcc/files/