First, make sure that "c:\utilities\programming\tdmmingw32\lib\gcc\mingw32\4.5.1\include\c++\mingw32\bits\c++config.h" exists. If it doesn't, your installation is botched and you should reinstall.
If it does exist, please add "-v" (for verbosity) to your compiler options, then post the output, starting with the command itself that causes the error (which you omitted in your first post), including all verbose output, and ending with the error message.