<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/5/14 Kjow <span dir="ltr"><<a href="mailto:antispammoni@gmail.com" target="_blank">antispammoni@gmail.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 dir="ltr">Hi all,<br><br>I'm trying to build androidlcl test project with ARMV7 VFPV3, but there are problems.<br></div></blockquote><div><br></div><div>[cut] <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Can I solve both ARMV7 and VFPV3?<br></div></blockquote></div><br></div>Well, about ARMV7 I think I have understood now. According to <a href="http://en.wikipedia.org/wiki/ARM_architecture">http://en.wikipedia.org/wiki/ARM_architecture</a> I need to pass -CpARMV7A options, indeed in this way FPC compiles well. ( CROSSOPT="-CfVFPV3 -OoFASTMATH -CpARMV7A" )<br>
<br>The big issue is that Lazarus won't compile androidlcl test project if FPC is compiled with -CfVFPV3 "crossoption"...<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/15] 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>I tried with CROSSOPT="-CfSOFT -OoFASTMATH -CpARMV7A" and it works! Lazarus can build ARMV7A projects, but no luck with VFPV3.</div>