To do this, I used:
Lazarus-0.9.31-29090-fpc-2.4.3-20110118-win32.exe
Lazarus-0.9.31-29090-fpc-2.4.3-20110118-cross-arm-wince-win32.exe
Yes, but that's a cross-compiler for Windows CE, not for Linux.
I am trying to make a pre-compile installer for x86-linux -> arm-linux, but no success at the moment.
You can always build your own cross-compiler. For me it wasn't that hard. I installed FPC 2.4.2, download fpctrunk from subversion and issued:
make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/home/felipe/Programas/fpctrunk/binutils OPT=-dFPC_ARMEL INSTALL_PREFIX=/usr/
I used the instructions here:
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARMI am familiar with Linux.
I know that the programs must have execute permissions.
I was wondering how do I generate and execute the file, inside the Android.
And how can I create a package APK.
Thanks.
After you have built the project for arm-linux, you create the APK in the command line by doing:
cd turbopascal4android/android
ant debug
Then the APK file will be located in turbopascal4android/android/bin
You need to have ant installed for this to work, and also to have the android SDK installed. You need to change the Android SDK location in turbopascal4android/android/local.properties