TONPPAMF

The Official NPPAngband And NPPMoria Forum

You are not logged in.

Announcement

November 28, 2016 - NPPAngband forum has been migrated to a new host. SSL has been enabled so please use https:// if possible.

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

RunningAway
Member
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.

Using

make MINGW=yes CROSS=i686-pc-mingw32- -f Makefile.win

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.

Offline

Board footer

Powered by FluxBB