<div dir="ltr">Hi all,<br><br>I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are problems.<br><br>First of all, I'm using Lazarus 1.1 (svn trunk) and FPC 2.7.1 (svn trunk) and I can compile that project and build apk from Windows 8 pro well.<br>
My Samsung Galaxy Note 1 can execute androidlcl... but very-very slowly.<br><br>I compiled FPC with this command:<br><br>make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm CROSSOPT="-CfSOFT -OoFASTMATH -CpARMV6" 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>It compiles like a charm.<br><br>Trying other parameters for CROSSOPT there are problems... I can't build FPC with -CpARMV7 (error on FPC compiling) and if I use only<br>CROSSOPT="-CfVFPV3 -OoFASTMATH", FPC compiles well, but lazarus can't build the project:<br>
<br>Hint: Start of reading config file C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg<br>Hint: End of reading config file C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg<br>Free Pascal Compiler version 2.7.1 [2013/05/14] for arm<br>
Copyright (c) 1993-2013 by Florian Klaempfl and others<br>Target OS: Android for ARMEL<br>Compiling fcllaz.pas<br>PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu<br>Trying to use a unit which was compiled with a different FPU mode<br>
PPU Loading C:\Develop\fpc\2.7.x\\units\arm-android\rtl\system.ppu<br>Trying to use a unit which was compiled with a different FPU mode<br>fcllaz.pas(0,0) Fatal: Can not find system used by fcllaz, ppu=..\..\..\fpc\2.7.x\units\arm-android\rtl\system.ppu<br>
<br>Of course, I changed Project Options -> Other -> -CfSOFT to -CfVFPV3<br><br>Can I solve both ARMV7 and VFPV3?<br><br>Hoping this will boost performance a lot.<br><br>Thank you,<br>Best Regards,<br>Kjow</div>