[fpc-devel] ARM compiler issues
Peter Vreman
peter at freepascal.org
Sun Jul 3 13:48:48 CEST 2005
>>> 1. Why SizeOf(integer) = 2 for ARM?
>>
>> The size depends on the compiler mode. For objfpc and delphi modes it is
>> 4.
>
> Yes this is due compiler mode.
> Another question. Is it correct to keep SizeOf(integer)=2 in default fpc
> mode when most of current processors are 32bit and 64bit is coming?
Yes. To be backwards compatible with old fpc versions we can't change the
default mode to objfpc.
More information about the fpc-devel
mailing list