2013/5/14 Kjow <[email protected]> > 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.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
