[fpc-devel] Compiler limitations

Vincent Snijders vsnijders at quicknet.nl
Fri May 9 22:56:51 CEST 2008


Jonas Maebe schreef:
> 
> On 09 May 2008, at 22:43, Vincent Snijders wrote:
> 
>> Florian Klaempfl schreef:
>>> Miklos Cserzo schrieb:
>>>>
>>>> Hi Folks,
>>>>
>>>> according the documentation "Arrays are limited to 2 GBytes in size 
>>>> in the default processor mode." Is there another mode allowing 
>>>> bigger arrays?
>>> 64 Bit mode/compiler.
>>
>> Except for darwin.
>>
>> Except it doesn't work:
>> http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?action=3&run1id=21737&testfileid=2417 
>>
> 
> Maybe Win64 doesn't support it either.

Linux either:
http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?action=3&run1id=21719&testfileid=2417

> 
> And note that this test (and the darwin remark) about statically 
> allocated arrays. Dynamically allocated arrays don't have such limitations.

Good point.

Vincent



More information about the fpc-devel mailing list