[Lazarus] ARMV7

Kjow antispammoni at gmail.com
Tue May 14 23:41:44 CEST 2013

Hi all,

I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are

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.
My Samsung Galaxy Note 1 can execute androidlcl... but very-very slowly.

I compiled FPC with this command:

make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm

It compiles like a charm.

Trying other parameters for CROSSOPT there are problems... I can't build
FPC with -CpARMV7 (error on FPC compiling) and if I use only
CROSSOPT="-CfVFPV3 -OoFASTMATH", FPC compiles well, but lazarus can't build
the project:

Hint: Start of reading config file
Hint: End of reading config file C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.7.1 [2013/05/14] for arm
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Android for ARMEL
Compiling fcllaz.pas
PPU Loading C:\Develop\fpc\2.7.x\units\arm-android\rtl\system.ppu
Trying to use a unit which was compiled with a different FPU mode
PPU Loading C:\Develop\fpc\2.7.x\\units\arm-android\rtl\system.ppu
Trying to use a unit which was compiled with a different FPU mode
fcllaz.pas(0,0) Fatal: Can not find system used by fcllaz,

Of course, I changed Project Options -> Other -> -CfSOFT to -CfVFPV3

Can I solve both ARMV7 and VFPV3?

Hoping this will boost performance a lot.

Thank you,
Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130514/1bc40d2f/attachment-0002.html>

More information about the Lazarus mailing list