The Official NPPAngband And NPPMoria Forum

You are not logged in.


July 4th, 2018 - Registrations have been turned off due to the large ratio of spam vs legitimate discussion.

#1 2013-08-17 09:58:40

Registered: 2012-02-27
Posts: 246

Compiling fails on 64-bit Cygwin

Went to upgrade Cygwin, and saw the 64-bit version.  Figured I'd give it a try.


make MINGW=yes CROSS=i686-pc-mingw32- -f

This is the same command I've been using to build it with 32-bit Cygwin.

In file included from z-file.c:27:0:
/usr/i686-pc-mingw32/sys-root/mingw/include/io.h:301:1: error: unknown type name ‘off64_t’

I've dug through the header files, and the type is defined in sys/types.h, which should be included.

Every other file up to this one compiles fine.

We probably don't need to do file io on >2GB files, which is what the 64-bit offset is used for here.

Works fine on 32-bit Cygwin.


Board footer

Powered by FluxBB