<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/5/17 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">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.<br>
<br>
Regards,<br>
Sven<br></div></blockquote><div><br></div>Whops, I'm sorry I misunderstood your email.<br>Well, now it works :)<br><br>Unfortunately performances are the same, so they are terrible.<br><br>Anyway, I compiled FPC with:<br>
<br>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-<br>
<br>and added the three options to fpc.cfg<br><br>...<br>#ifdef android<br>#ifdef cpuarm<br>-FlC:\Android\NDK\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib<br>-CfVFPV3<br>-OoFASTMATH<br>-CpARMV7A<br>#endif<br>#endif<br>
...<br><br>It compiles, builds and makes apk package well, but it is yet very slow on a Samgung Galaxy Note 1.<br><br>Thank you!<br>Kjow</div></div></div>