[fpc-devel] Error building branch targetandroid
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Mon Jul 9 08:53:04 CEST 2012
On Sun, Jul 8, 2012 at 5:15 PM, Thomas Schatzl <tom_at_work at gmx.at> wrote:
> can you check whether the correct assembler is used, e.g. change into the
> rtl directory, and run the ppcrossarm as above with -al -s appended? And
> then verify the ppas.sh that the correct assembler is used?
Could you be more specific about which command to type? I tryed to
deduce by myself and I came up with:
user-31-175-219-83:rtl felipe$ ../compiler/ppcrossarm
-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 -al -s -Fiarm
-Fiunix -Filinux/arm -Fiinc -Filinux linux/system.pp
which results in a compilation error:
system.pp(102,19) Error: Identifier not found "argc"
system.pp(132,21) Error: Identifier not found "argc"
system.pp(133,27) Error: Identifier not found "argv"
system.pp(164,10) Error: Identifier not found "argc"
system.pp(170,16) Error: Identifier not found "argc"
system.pp(172,22) Error: Identifier not found "argv"
system.pp(177,14) Error: Identifier not found "argv"
system.pp(192,19) Error: Identifier not found "argv"
system.pp(200,16) Error: Identifier not found "argc"
system.pp(380) Fatal: There were 9 errors compiling module, stopping
Fatal: Compilation aborted
--
Felipe Monteiro de Carvalho
More information about the fpc-devel
mailing list