gcc seems to try to find as.exe on a linux path:
V:\>c:\python25\python Setup.py build --compiler=mingw32
building 'vickrey' extension
c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python25\include -IC:\Python25\PC -c vickrey.c -o build\temp.win32-2.5\Release\vickrey.o
fixme:msvcrt:_spawnve only trying .exe when no extension given
gcc: installation problem, cannot exec `\usr\libexec\gcc\mingw32\as': No such file or directory
error: command 'gcc' failed with exit status 1
(binary versions, where applicable)
OS: Windows XP (emulated by wine-0.9.46)
No idea how to fix this. I don't even know whether this is a bug or my personal dumbness.
P.S. ... attached the project I'm trying to compile in case you can't reproduce.