Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-q.b-one.net (mx-q.one.com [91.198.169.248])
	by mail9.b-one.net (Postfix) with ESMTP id D14C4400107
	for <info@awaresystems.be>; Fri,  6 Aug 2010 18:49:58 +0200 (CEST)
Received: by mx-q.b-one.net (Postfix, from userid 106)
	id C6E051AE9D90; Fri,  6 Aug 2010 18:49:44 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-q.b-one.net (Postfix) with ESMTP id E0F9D21B75CE for
 <info@awaresystems.be>; Fri,  6 Aug 2010 18:49:05 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 63CC51D184BCA; Fri,  6 Aug 2010
 11:48:02 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org
 [65.66.246.74]) by lists.maptools.org (Postfix) with ESMTPS id E95DC1D0E529A
 for <tiff@lists.maptools.org>; Fri,  6 Aug 2010 11:38:29 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
 [65.66.246.65]) by blade.simplesystems.org (8.13.8+Sun/8.13.8) with ESMTP id
 o76GcRC3027837; Fri, 6 Aug 2010 11:38:27 -0500 (CDT)
Date: Fri, 6 Aug 2010 11:38:27 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: jcupitt@gmail.com
In-Reply-To: <AANLkTikcG4uTUnHXBU6ctOnCZ8P=ovMrBv5AkEWusLnL@mail.gmail.com>
Message-ID: <alpine.GSO.2.01.1008061134030.12887@freddy.simplesystems.org>
References: <AANLkTinhaUbDrvMQgVaAX5nvXG_9j7GFjGgGALks3T1e@mail.gmail.com>
 <alpine.GSO.2.01.1008061019080.12887@freddy.simplesystems.org>
 <AANLkTikcG4uTUnHXBU6ctOnCZ8P=ovMrBv5AkEWusLnL@mail.gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
 (blade.simplesystems.org [65.66.246.90]); Fri, 06 Aug 2010 11:38:27 -0500
 (CDT)
Cc: TIFF <tiff@lists.maptools.org>
Subject: Re: [Tiff] tiff4 on 32-bit Windows
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Fri, 6 Aug 2010, jcupitt@gmail.com wrote:

> On 6 August 2010 16:21, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:
>>> tiff4 seems to work well on my usual machine (64-bit linux), but I'm
>>> having trouble creating files over 4GB with a 32-bit Windows binary.
>>
>> Are you using tif_unix.c or tif_win32.c for I/O?
>
> Drat, I'd totally forgotten about that, thank you Bob.
>
> I tried with -DUSE_WIN32_FILEIO and I still get
>
> TIFFAppendToStrip: Maximum TIFF file size exceeded

Was tif_win32.c used in the build (without tif_unix.c)?  Using it may 
require editing a Makefile.  A potentially silly issue is if you 
forgot to pass the "8" TIFFOpen option to request BigTIFF format. 
Usually a large file issue is reported as a failure to seek.

> at the 4gb mark. I'm now wondering if it's a compiler bug (I'm stuck
> on gcc3.4). More digging!

I do seem to recall large-file issues with old MinGW.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
