[fpc-devel] Error building branch targetandroid
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Sat Jul 7 09:57:27 CEST 2012
Hello,
In Mac OS X, using FPC 2.6.0 as a starting compiler I did:
svn co http://svn.freepascal.org/svn/fpc/branches/targetandroid targetandroid
cd targetandroid
make crossinstall CPU_TARGET=arm OS_TARGET=android OPT="-dFPC_ARMEL"
CROSSOPT="-CpARMv6 -CfSoft"
CROSSBINDIR=/Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin
OPT=-dFPC_ARMEL BINUTILSPREFIX=arm-linux-androideabi-
INSTALL_PREFIX=output
And I got the following strange error:
/Users/felipe/Programas/targetandroid/compiler/ppcrossarm -Ur
-Tandroid -Parm -XParm-linux-androideabi- -Xr -Ur -Xs -O2 -n -Fi../inc
-Fi../arm -Fi../unix -Fiarm -Fi../linux -Fi../linux/arm
-FD/Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin
-FE. -FU/Users/felipe/Programas/targetandroid/rtl/units/arm-android
-dFPC_ARMEL -darm -dRELEASE -CpARMv6 -CfSoft -Us -Sg
../linux/system.pp
arm.inc(906,2) Error: Unrecognized opcode rev
arm.inc(906,6) Error: Assembler syntax error
arm.inc(921,2) Error: Unrecognized opcode rev
arm.inc(921,6) Error: Assembler syntax error
arm.inc(946,2) Error: Unrecognized opcode rev
arm.inc(946,6) Error: Assembler syntax error
arm.inc(947,2) Error: Unrecognized opcode rev
arm.inc(947,6) Error: Assembler syntax error
arm.inc(973,2) Error: Unrecognized opcode rev
arm.inc(973,6) Error: Assembler syntax error
arm.inc(974,2) Error: Unrecognized opcode rev
arm.inc(974,6) Error: Assembler syntax error
text.inc(1774,14) Warning: Implicit string type conversion from
"AnsiString" to "UnicodeString"
text.inc(1998,44) Warning: Implicit string type conversion with
potential data loss from "UnicodeString" to "AnsiString"
system.pp(380) Fatal: There were 12 errors compiling module, stopping
Fatal: Compilation aborted
make[4]: *** [system.ppu] Error 1
make[3]: *** [android_all] Error 2
make[2]: *** [rtl_all] Error 2
make[1]: *** [build-stamp.arm-android] Error 2
make: *** [crossinstall] Error 2
any ideas?
thanks,
--
Felipe Monteiro de Carvalho
More information about the fpc-devel
mailing list