Initially, I used the rxvt Cygwin terminal, but at some point the build failed with:
'cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe': Bad address'
That's basically all it told me. When Googling for the error, only two results pop up.
From http://www.webdevrefinery.com/forums/topic/5442-nodejs/ :
The user found a solution himself:gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe': Bad address
So I reverted back to the default Windows command prompt, re-did the build and everything went smoothly.Edit: Hmm, that's weird. I got that error when compiling in a Puttycyg terminal, but when I try it via a normal Windows command prompt, it seems to work
(Part of) my Cywin.bat:
#bash --login -i
set EDITOR=vi
set VISUAL=vi
set CYGWIN=codepage:oem tty binmode title
start rxvt -sr -sl 10000 -fg white -bg black -fn fixedsys -fb fixedsys -e /bin/bash --login -i