[fpc-pascal] some problem with assembler code generated by fpc for arm
josepascual
josepascual at almudi.com
Thu Jun 28 20:54:09 CEST 2007
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
More information about the fpc-pascal
mailing list