[fpc-pascal] Object Pascal & arm-linux

Florian Klaempfl florian at freepascal.org
Mon Jul 21 21:04:42 CEST 2008


Koenraad Lelong schrieb:
> Florian Klaempfl schreef:
>> 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.
> 
> Hi,
> At last I found some time to look into this problem.
> Martin Schreiber suggested a solution which I implemented and tested
> (only the reader part of it).

Applied, thx.



More information about the fpc-pascal mailing list