2013/5/17 Sven Barth <pascaldra...@googlemail.com> > And as I wrote in my mail you need to apply this to all other packages AND > the IDE options (because these are used for the packages FCLLaz and LCL) as > well (or add it to your fpc.cfg). You are NOT doing this by adding the > options to Other. > > Regards, > Sven >
Whops, I'm sorry I misunderstood your email. Well, now it works :) Unfortunately performances are the same, so they are terrible. Anyway, I compiled FPC with: c:\Develop\fpc\2.7.x_src>make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm CROSSOPT="-CfVFPV3 -OoFASTMATH -CpARMV7A" INSTALL_PREFIX=C:\Develop\fpc\2.7.x PP=c:\Develop\fpc\2.6.0\bin\i386-win32\fpc.exe BINDIR=C:\Android\NDK\android-ndk-r8e\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows-x86_64\arm-linux-androideabi\bin CROSSBINDIR=C:\Android\NDK\android-ndk-r8e\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows-x86_64\bin BINUTILSPREFIX=arm-linux-androideabi- and added the three options to fpc.cfg ... #ifdef android #ifdef cpuarm -FlC:\Android\NDK\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib -CfVFPV3 -OoFASTMATH -CpARMV7A #endif #endif ... It compiles, builds and makes apk package well, but it is yet very slow on a Samgung Galaxy Note 1. Thank you! Kjow
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus