From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,bb0f9a9ffc9ae0e6,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.sovam.com!goblin1!goblin2!goblin.stu.neva.ru!feed1.news.be.easynet.net!news.skynet.be!195.238.0.222.MISMATCH!newsspl501.isp.belgacom.be!tjb!not-for-mail Date: Mon, 25 May 2009 21:13:30 +0200 From: Olivier Scalbert User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Large files on 32 and 64 bits ystem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4a1aedda$0$2855$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: b45e1b58.news.skynet.be X-Trace: 1243278810 news.skynet.be 2855 87.65.132.74:53585 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news2.google.com comp.lang.ada:6007 Date: 2009-05-25T21:13:30+02:00 List-Id: 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.