amd64 bit compiling

While seeing if my controller mod for RE worked it wouldn't compile the amd64. I couldn't find the specific compiler so i went with a generic 64 bit MinGW. Could you point me in the right direction? It's asking me for a strange library file called: libstdc++-6.dll and that doesn't work either.
I'm making a page on my website for developers and it will have tutorials and walkthroughs on setting up a cube engine game to compile, and this would be great to cover. Ill also link you to it once its up so you could add it to the wiki if possible.
Hers how the project for amd 64 is set up:
Ive researched for about 2 days now and have a good feeling that amd64 compilers are more geared towards linux machines, but the batch sends me to amd64 as I am running a 64-bit os. Any help would be appreciated. I need the correct 64-bit compiler but cant find any that work. Default redeclipse.exe from amd64 works fine. Its my compiled version that needs help.