[fpc-devel] error when crosscompile for arm

Dariusz Mazur darekm at emadar.com
Mon Nov 30 23:14:41 CET 2009


Jonas Maebe pisze:
> On 30 Nov 2009, at 17:47, Dariusz Mazur wrote:
>
>   
>> I receive error while compile for arm
>> selected processor does not support 'ldfd f0,[r11,#-48]'
>>     
>
> Add -Cfsoft to your compiler options to use softfloat instead of FPA.
>   
I've had this option enable
>   
>> this is from simple function, but when I move them to main unit everything is compiled OK
>>
>> what does it mean?
>>     
>
> I don't know why it doesn't happen in that case.
>   
If units I have compiler directive $E- (emulation of FPU)


but when I remove it, i have problem with COMP type
when
var
   c : comp;
begin
   c:=int(1.1);
end;

it claim
 got Double, expected int64

second problem is with str

str(c:0:0,ss)
is not valid




-- 
  Darek







More information about the fpc-devel mailing list