AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.08.06 15:05 "tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 15:21 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.06 15:57 "Re: tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 16:24 "Re: tiff4 on 32-bit Windows", by Edward Lam
2010.08.06 16:51 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.06 16:38 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.09 12:59 "Re: tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 15:37 "Re: tiff4 on 32-bit Windows", by Olivier Paquet
2010.08.06 18:21 "Re: tiff4 on 32-bit Windows", by Toby Thain
2010.08.07 06:34 "tiffcp crashes on planar to strip conversion for < 8 bit", by Andreas Kleinert
2010.08.07 06:36 "Re: tiffcp crashes on tile to strip conversion for < 8 bit", by Andreas Kleinert
2010.08.15 04:45 "Re: tiffcp crashes on planar to strip conversion for < 8 bit", by Lee Howard

2010.08.06 16:51 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn

On Fri, 6 Aug 2010, Edward Lam wrote:

> jcupitt@gmail.com wrote:
>> at the 4gb mark. I'm now wondering if it's a compiler bug (I'm stuck
>> on gcc3.4). More digging!
>
> Wait, are you using cygwin's gcc? I took a quick look at my cygwin 1.7 
> /usr/include files and it doesn't even support _FILE_OFFSET_BITS macro. I'd 
> double check to make sure that your sizeof(off_t) is 8 under your compiler. 
> If it isn't, then you need to do whatever magical defines necessary to make 
> it do that.

I recall that sizeof(off_t) is always 4 under 32-bit Windows.  Large 
file access with POSIX-like APIs requires using alternate Windows APIs 
like _ftelli64().  Checking GraphicsMagick headers, I see that these 
are only available under MinGW if __MSVCRT_VERSION__ is >= 0x800. 
Last time I messed with this, I was unsuccessful.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/