On 31 May 2008, at 22:02, Luca Olivetti wrote:

En/na Yury Sidorov ha escrit:

Try to crosscompile fpc 2.2.1 or 2.3.1 compiler binary and then use this binary as starting compiler on arm machine.

In my case, before trying to compile using the native 2.2.0, I tried crosscompiling from linux/i386, but:

$ make all install CPU_TARGET=arm CROSSBINDIR=/scratchbox/compilers/ cs2005q3.2-glibc2.5-arm/bin BINUTILSPREFIX=arm-linux- CPU_T CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl'
Makefile:129: *** Compiler ppcrossarm not found.  Stop.

Add

FPC=/full/path/to/ppc386-2.2.1 (or 2.3.1, depending on which version you are trying to compiler for ARM; in any case, make sure you use the same version of ppc386 as starting compiler)




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

Reply via email to