Hi
At revision 13589.
Got a full build of FPC with :-
/usr/local/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -XP/armbin/arm-none-linux-gnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 ./$1 -uUSE_LOCALIZE
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/ -Fl/software/arm-lib
/software/fpc]# ls -l /usr/local/lib/fpc/2.5.1/ppcrossarm -rwxr-xr-x 1 root wheel 9491748 Aug 25 14:20
/usr/local/lib/fpc/2.5.1/ppcrossarm.
Tried compiling examples in fpc/packages/ncurses/examples using :-
gmake examples OS_TARGET=linux CPU_TARGET=arm OPT="-gl -Fl/software/arm-lib -Xr/usr/lib -FL/software/arm-lib/ld-linux.so.3 -XLAc=c,dl,g -Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/ -Xd -XP/armbin/arm-none-linux-gnueabi- -dFPC_ARMEL -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 " FPC=/usr/local/lib/fpc/2.5.1/ppcrossarm
after copying the arm-linux libs to /software/arm-lib.
the resulting binaries (firework etc) are not executing on the arm-linux board as well as qemu.
sh firework
firework: firework: 1: Syntax error: word unexpected (expecting ")")
$file firework
firework: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
while another non-fpc app shows:-
file formshow
formshow: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
could it be that I am building on FreeBSD is a probelms?
regards
Nataraj
