delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/02/17/14:25:55

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 17 Feb 2005 21:23:30 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c51526$Blat.v2.4$4f49bbe0@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.4
In-reply-to: <f7.4a46b646.2f459ddb@aol.com> (Sterten@aol.com)
Subject: Re: files > 4GB There is always a solution
References: <f7 DOT 4a46b646 DOT 2f459ddb AT aol DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Sterten AT aol DOT com
> Date: Thu, 17 Feb 2005 02:12:27 EST
> 
> OK, despite Eli's first pessimistic outlook, it seems that it is somehow  
> possible to handle files larger than 4GB

I don't think it's possible at all, from a DJGPP program.  All the
recipes you've been given are not applicable to DJGPP programs; only
Windows programs can access files larger than 4GB.  For example, a
DJGPP program doesn't even know whether it runs on an NTFS or FAT32
volume.  (Of course, you could write a small Windows program and
invoke it from a DJGPP program, but that doesn't count.)

> Will we see in the not too distant future a new file which just replaces  one
> of the files of gcc/djgpp and which will let us handle large files easily  
> just as normal files before ? Give your predictions !

My prediction is NO.  The file offsets supported by the file I/O
system calls used by DJGPP are 32-bit values, so anything beyond 4GB
is impossible.  We need Microsoft to give DOS programs a way to access
64-bit file I/O interface.  I don't know about you, but I won't hold
my breath for that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019