Hi everyone,

I try to compiling a pascal unit with fpc and It compiles okey for i386 but
arm

with fpcrossarm compiling file show this two error:

Compiling luaobjects.pas
Assembling luaobjects
luaobjects.s: Assembler messages:
luaobjects.s:2078: Error: co-processor address must be word aligned -- `ldfd
f0,[r0,#1]'
luaobjects.s:2306: Error: co-processor address must be word aligned -- `ldfd
f0,[r0,#1]'

this error are due to next pascal line extracted from pascal file

line1)  eluaNumber  : Result := FLoatToStr(Value.LuaNumber);
line2)  eluaNumber  : Result := Round(Value.LuaNumber);

it seems there is some problem with Floattostr and round ( I have tried to
compile this file with fpc for arm v2.1.4 and
v2.3.1

any suggestion?

thank you 


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to