From mint-bounce@lists.fishpool.fi  Mon Mar 17 12:34:34 2008
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] remove 64bit declaration from include/glob.h
From: Alan Hourihane <alanh@fairlite.demon.co.uk>
To: Patrice Mandin <mandin.patrice@wanadoo.fr>
Cc: mint@lists.fishpool.fi
In-Reply-To: <20080317164959.1c0855d0.mandin.patrice@wanadoo.fr>
References: <1205763816.14873.8.camel@localhost>
	 <20080317164959.1c0855d0.mandin.patrice@wanadoo.fr>
Content-Type: text/plain; charset=UTF-8
Date: Mon, 17 Mar 2008 16:20:22 +0000
Message-Id: <1205770822.14873.19.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.3 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.demon.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id m2HGYXvW003106

On Mon, 2008-03-17 at 16:49 +0100, Patrice Mandin wrote:
> Le Mon, 17 Mar 2008 14:23:36 +0000
> Alan Hourihane <alanh@fairlite.demon.co.uk> a écrit:
> 
> > If _FILE_OFFSET_BITS=64 then the declarations in include/glob.h get
> > changed to export to applications glob64/globfree64 which don't exist
> > in MiNTlib.
> 
> Speaking of that, it seems latest sdlmame releases requires 64bit file
> support (stat64 and the like). Does it mean these functions are not
> supported in MiNTlib? I remember some 64bit file support have been added
> to the kernel.

Right. 64bit file support just doesn't exist for FreeMiNT at this time.

Sure, stat64 and seek64 (but that's a wrapper around seek anyway) exist
but there's a whole slew of stuff needed yet.

The alternative is to weak_alias the 64bit calls in MiNTlib to the 32bit
counterparts which will workaround apps that require 64bit support, but
obviously if they go over the 2GB file limit, strange things could
happen.

Alan.


