A set of patches against 0.0.8E0F1 allowing compilation under Cygwin targetting the mingw subsystem. The resulting executable is usable on any Windows system.
These patches do not (should not) affect any other compilation method or target system.
After applying the patches, the command to use is:
bash configure --prefix=/usr/local/games --host=mingw32-i386 --enable-mswin-graphics --enable-user-sounds --enable-autopickup-exceptions --enable-score-on-botl CFLAGS='-mno-cygwin -mms-bitfields -funsigned-char -DVISION_TABLES' LFLAGS='-mno-cygwin -mconsole' NHKEYDLL_GCC='' CHMOD='true' CHGRP='true' CHOWN='true'
Further discussion is (hopefully) on the devel mailing list.
cygwin-mingw compilation