comp.lang.ada
 help / color / mirror / Atom feed
* Large files on 32 and 64 bits ystem
@ 2009-05-25 19:13 Olivier Scalbert
  2009-05-25 23:23 ` Ludovic Brenta
  2009-05-26  0:49 ` anon
  0 siblings, 2 replies; 6+ messages in thread
From: Olivier Scalbert @ 2009-05-25 19:13 UTC (permalink / raw)


Hello everybody,

Here is my weekly question ....


I need to create a file that has 2540160000 bytes, that is a little more 
than 2**31 bytes.

On a 64 bits linux box, it is ok, but on a 32 bits linux box, I have:
raised ADA.IO_EXCEPTIONS.DEVICE_ERROR : s-fileio.adb:1135

The file length is: 2147483647, which is 2**31 - 1

Is it possible to write more than 2**31 bytes with an Ada program on a 
32 bits linux ?

Thanks for your help,

Olivier.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-26 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-25 19:13 Large files on 32 and 64 bits ystem Olivier Scalbert
2009-05-25 23:23 ` Ludovic Brenta
2009-05-26  5:14   ` Olivier Scalbert
2009-05-26 10:22     ` Ludovic Brenta
2009-05-26 13:26       ` Robert A Duff
2009-05-26  0:49 ` anon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox