[GRASS-user] how to know if LFS flag is enable

Glynn Clements glynn at gclements.plus.com
Thu Jan 21 05:05:21 EST 2010

Milton Cezar Ribeiro wrote:

> So under windows we are really limitted to 2Gb
> independent of compile using LFS flag? :-(


> Are there plans to by pass this!?

I'm sure that we'll sort it out eventually.

The problem is that the MinGW headers don't provide an equivalent of
_FILE_OFFSET_BITS, so we will have to manually "redirect" off_t to
off64_t, lseek() to lseek64(), stat to ... _stat64? (or _stati64? I'm
not sure), etc. More importantly, we have to get all of them in sync.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-user mailing list