[Dev-luatex] 64 bit binary for windows?

luigi scarso luigi.scarso at gmail.com
Wed Apr 10 15:00:30 CEST 2013


On Wed, Apr 10, 2013 at 12:09 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
>
> On Apr 10, 2013, at 12:00 PM, luigi scarso <luigi.scarso at gmail.com> wrote:
>
>> On Wed, Apr 10, 2013 at 11:51 AM, Fabrice Popineau
>> <fabrice.popineau at supelec.fr> 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


More information about the dev-luatex mailing list