C:\cygwin\lib\gcc-lib\i686-pc-cygwin\3.3.3\cc1.exe (2804): *** proc magic mismatch detected - 0xC87757A7/0xD079E02.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\3.3.3\cc1.exe (384): *** proc magic mismatch detected - 0xC87757A7/0xD079E02.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL.
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
ERROR CONFIGURING BINUTILS (binutils-2.14 ee)
Obviously i did search for the cygwin dll, and there was only one, where it should be (it was a fresh cygwin install). And rebooted.
I also thought it might be compiler-related, so i downgraded gcc to 3.3.3 but i got the same error. Any suggestions?
I reinstalled cygwin, and just before ending, it warned there was a cygwin1.dll on windows\system32 that it couldn't erase. I forgot that by default windows search doesnt search for hidden/system files - i'm used to *nix find/locate :P. After removing the offending files (there was also a cygz.dll lying there) i managed to go a lot further, to the next error: