X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Sterten AT aol DOT com Message-ID: <14.3fb9cae4.2f4ed770@aol.com> Date: Thu, 24 Feb 2005 02:08:32 EST Subject: Re: files > 4GB There is always a solution To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1109228912" X-Mailer: 9.0 SE for Windows sub 5003 Reply-To: djgpp AT delorie DOT com -------------------------------1109228912 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I can already generate files larger then 4GB, just not open them. I'd thought, thet gcc maybe tries to determine the filelength on opening and stores it for possible later access - and that's where it fails. But I don't need that. The file is just read sequentially. From DOS-programming, I remember there were some interrupts with parameters. Isn't it similar with NTFS ? Shouldn't it be possible to just change some parameters to handle big files correctly ? Why is it so difficult ? You might think, 4GB is rather big and noone needs it anyway, but Billy Gates also once said, nobody would ever need more than 1 MB of RAM ... Well, with the new 64-bit processors it's quite natural to address the bytes in a file >4GB. Will we be able to use 64-bit variables with gcc/djgpp or will this never be supported ? -------------------------------1109228912 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
 
I can already generate files larger then 4GB, just not open them.
I'd thought, thet gcc maybe tries to determine the filelength on=20 opening
and stores it for possible later access - and that's where it fails.
But I don't need that. The file is just read sequentially.
 
From DOS-programming, I remember there were some interrupts with=20 parameters.
Isn't it similar with NTFS ?
Shouldn't it be possible to just change some parameters to handle big=20 files
correctly ? Why is it so difficult ?
 
You might think, 4GB is rather big and noone needs it anyway,
but Billy Gates also once said, nobody would ever need more than
1 MB of RAM ...
 
Well, with the new 64-bit processors it's quite natural to address the=20 bytes
in a file >4GB. Will we be able to use 64-bit variables with=20 gcc/djgpp
or will this never be supported ?
-------------------------------1109228912--