comp.lang.ada
 help / color / mirror / Atom feed
From: Olivier Scalbert <olivier.scalbert@algosyn.com>
Subject: Large files on 32 and 64 bits ystem
Date: Mon, 25 May 2009 21:13:30 +0200
Date: 2009-05-25T21:13:30+02:00	[thread overview]
Message-ID: <4a1aedda$0$2855$ba620e4c@news.skynet.be> (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.



             reply	other threads:[~2009-05-25 19:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 19:13 Olivier Scalbert [this message]
2009-05-25 23:23 ` Large files on 32 and 64 bits ystem 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
replies disabled

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