En/na Luca Olivetti ha escrit:
En/na Florian Klaempfl ha escrit:

How did you get the native start compiler?

http://freepascal.org/down/arm/linux.var (it's 2.2.0)

Well, this is the point :) This is not an armel compiler. You need to cross compile one first.

Ok, I'll try. Thank you.

I have the previously generated fpc 2.3.1 (non eabi) installed:

[sbox-CHINOOK_ARMEL: ~/fpc-svn] > fpc -iD -iV -iSO -iSP -iTO -iTP
2008/06/01 2.3.1 linux arm linux arm


So now I try with (omitting BINUTILSPREFIX and with BINUTILSPREFIX set as below, it doesn't matter since under scratchbox they're the same):

make clean all OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=arm-linux-gnueabi- OPT=-dFPC_ARMEL FPC=fpc


/home/luca/fpc-svn/rtl/units/arm-linux/system.s: Assembler messages:
/home/luca/fpc-svn/rtl/units/arm-linux/system.s:15378: Error: selected processor does not support `rfs r0' /home/luca/fpc-svn/rtl/units/arm-linux/system.s:15381: Error: selected processor does not support `wfs r0' /home/luca/fpc-svn/rtl/units/arm-linux/system.s:19324: Error: selected processor does not support `stfd f0,[r13]' /home/luca/fpc-svn/rtl/units/arm-linux/system.s:19325: Error: selected processor does not support `ldfd f0,[r13]' /home/luca/fpc-svn/rtl/units/arm-linux/system.s:19329: Error: selected processor does not support `ldfd f0,[r0]'
[....]

Try again with:
make clean all OS_TARGET=linux CPU_TARGET=arm OPT='-dFPC_ARMEL -CfSOFT' FPC=fpc
but ppc1 hangs while compiling system.pp (deja-vu)

Try again with:
make clean all OS_TARGET=linux CPU_TARGET=arm OPT='-dFPC_ARMEL -CfSOFT -O-' FPC=fpc

/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

(another deja-vu)


Bye
--
Luca

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

Reply via email to