[Lazarus] ARMV7

Kjow antispammoni at gmail.com
Wed May 15 16:07:30 CEST 2013


2013/5/14 Kjow <antispammoni at gmail.com>

> Hi all,
>
> I'm trying to build androidlcl test project with ARMV7 VFPV3, but there
> are problems.
>

[cut]


> Can I solve both ARMV7 and VFPV3?
>

Well, about ARMV7 I think I have understood now. According to
http://en.wikipedia.org/wiki/ARM_architecture I need to pass -CpARMV7A
options, indeed in this way FPC compiles well. ( CROSSOPT="-CfVFPV3
-OoFASTMATH -CpARMV7A" )

The big issue is that Lazarus won't compile androidlcl test project if FPC
is compiled with -CfVFPV3 "crossoption"...

Hint: Start of reading config file
C:\Develop\fpc\2.7.x\bin\i386-win32\fpc.cfg
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/15] 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,
ppu=..\..\..\fpc\2.7.x\units\arm-android\rtl\system.ppu

I tried with CROSSOPT="-CfSOFT -OoFASTMATH -CpARMV7A" and it works! Lazarus
can build ARMV7A projects, but no luck with VFPV3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130515/11ad2d8f/attachment-0003.html>


More information about the Lazarus mailing list