@Mjbmr reports that cross compiling fails:
../windows/cygterm.c: In function 'getRegistry':
../windows/cygterm.c:458: error: 'KEY_WOW64_64KEY' undeclared (first use in this function)
This looks like just an old version of mingw (i586-mingw32msvc-) that doesn't support the (XP-era?) KEY_WOW64_64KEY.
However, I can't reproduce this properly on gcc-mingw-w64 (i686-w64-mingw32-) due to various issues; commits to follow.
GH-98: gcc haet write_clip's missuse of struct
GH-98: extract TARGET_ARCH to make it easier to disable
As of those two patches, I can build a working binary with:
VER="-DSNAPSHOT=$(date '+%Y-%m-%d') -DSVN_REV=$(svnversion) -DMODIFIED" \
-f Makefile.cyg \
500 http://.../ubuntu/ saucy/universe amd64 Packages