On the wiki page:
Edit c:\hg\hg-python26\Lib\distutils\cygwinccompiler.py
to remove all references to -mno-cygwin (thanks, GCC!)
In the hg-python26\Lib\distutils\cygwinccompiler.py:
linker_exe='gcc -mno-cygwin',
Should it be linker_exe='gcc' ?
Eduard