I'm trying to compile luatex with --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu (use a fixed font to see the error) In file included from ../../../source/texk/web2c/luatexdir/luafontloader/fontforge/Unicode/char.c:29:0: /media/LaCie/opt/mingw-w64-bin_x86_64-linux_20121031/x86_64-w64-mingw32/include/ctype.h:102:23: error: expected ‘)’ before ‘_C’ _CRTIMP int __cdecl isalpha(int _C); ^ ../../../source/texk/web2c/luatexdir/luafontloader/fontforge/inc/utype.h:63:39: error: expected ‘)’ before ‘&’ token #define isalpha(ch) (____utype[(ch)+1]&(____L|____U|____TITLE|____AL)) ^ /media/LaCie/opt/mingw-w64-bin_x86_64-linux_20121031/x86_64-w64-mingw32/include/ctype.h:104:23: error: expected ‘)’ before ‘_C’ _CRTIMP int __cdecl isupper(int _C); ^ cross compilation with --host=i586-mingw32msvc is ok. Any suggestion ? -- luigi