Mail Archives: djgpp/2005/02/17/14:25:55
> 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 -