[fpc-pascal] Object Pascal & arm-linux

Florian Klaempfl florian at freepascal.org
Fri Feb 1 22:06:17 CET 2008


Koenraad Lelong schrieb:
> Florian Klaempfl schreef:
>> Koenraad Lelong schrieb:
>>> Hi,
>>> I successfully ran some MSE-gui test-programs on my arm-board. To do
>>> this I used a patched fpc 2.2.0-fixes.
>>> The patch involved backporting a fix from fpc-2.3.1 for
>>> TBinaryObjectReader : the arm processor has no (AFAIK) extended type. I
>> Which revision is this?
>>
> If you mean 2.2.1 : readme.rev says 8445 for fpc/branches/fixes_2_2
> If you mean 2.3.1 : svn info fpc says Revision : 9843
> 
>>> needed 2.2.1 because 2.3.1 breaks MSE-gui.
> ....
>> The reader/writer stuff has to take care of this. It applies if the fpu
>> type is fpa,fpa10 or fp11. You can simply use the define
>> FPC_DOUBLE_HILO_SWAPPED to detect this. The reason for this is that the
> How would I do that ? I tried, see enclosed diff, with no solution.

You've to check for this define and handle double appropriate when
loading them.



More information about the fpc-pascal mailing list