[fpc-pascal] FPC_ARMEL system calls
Luca Olivetti
luca at ventoso.org
Mon Jun 2 14:43:24 CEST 2008
En/na Luca Olivetti ha escrit:
> En/na Florian Klaempfl ha escrit:
>> This is what needs to be fixed the other two options might be a
>> workaround not usable. You use trunk I suppose?
>
> Yes
Just updated.
Here are the results:
a) under scratchbox (qemu emulated arm)
(http://maemo.org/development/sdks/maemo_4_chinook_sdk.html)
===============================================================
1) make zipinstall OPT='-dFPC_ARMEL -O-'
---------------------------------------------
/home/luca/fpc-svn/rtl/units/arm-linux/system.s:18046: Error: selected
processor does not support `rfs r0'
/home/luca/fpc-svn/rtl/units/arm-linux/system.s:18049: Error: selected
processor does not support `wfs r0'
/home/luca/fpc-svn/rtl/units/arm-linux/system.s:23962: Error: selected
processor does not support `stfd f0,[r11,#-56]'
/home/luca/fpc-svn/rtl/units/arm-linux/system.s:23963: Error: selected
processor does not support `ldfd f0,[r11,#-56]'
[....]
2) make zipinstall OPT='-dFPC_ARMEL -CfSOFT -O-'
-------------------------------------------------
/home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems
-Fu/home/luca/fpc-svn/rtl/units/arm-linux -Fiarm -FE.
-FUarm/units/arm-linux -dRELEASE -dFPC_ARMEL -CfSOFT -O- -darm -dGDB
-dBROWSERLOG pp.pas
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/sbox-arm-linux-ld:./link.res:
file format not recognized; treating as linker script
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/sbox-arm-linux-ld:./link.res:281:
syntax error
3) make zipinstall OPT='-dFPC_ARMEL -dFPC_ABI_EABI -CfSOFT -O-'
----------------------------------------------------------------
now it doesn't give "qemu error 6" but it stops at the same point as 2)
b) under real arm hardware (debian/etch *not* armel)
$ uname -a
Linux lspro 2.6.12.6-arm1 #2 Mon Jul 23 22:35:39 CEST 2007 armv5tejl
GNU/Linux
=======================================================================
1) make zipinstall OPT='-dFPC_ARMEL -O-'
----------------------------------------------------------------
no problem with the assembler but it stops at the linker stage as b.2
and b.3
Bye
--
Luca
More information about the fpc-pascal
mailing list