[Lazarus] ARMV7
Kjow
antispammoni at gmail.com
Fri May 17 17:12:36 CEST 2013
2013/5/17 Sven Barth <pascaldragon at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130517/6fd570f4/attachment-0003.html>
More information about the Lazarus
mailing list