On Wed, Apr 10, 2013 at 12:09 PM, Taco Hoekwater
On Apr 10, 2013, at 12:00 PM, luigi scarso
wrote: On Wed, Apr 10, 2013 at 11:51 AM, Fabrice Popineau
wrote: I called the build script this way :
build.sh --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
(no --mingw option). ok, in this case you should have a build directory, while with --mingw you have a build-windows directory. Not a big issue, the problem is how to manage eof: need Taco here.
Well, it is definitely better to change the texmf/lib/lib.h file than to change the mingw header io.h, but is there no way to prevent io.h from defining eof() via gcc the command line?
Best wishes, Taco
A patch of texmf/lib/lib.h could be /* avoid conflicts with x86_64 mingw */ #ifndef __MINGW64__ 1 extern boolean eof (FILE *); #endif -- luigi