2013/5/15 leledumbo <leledumbo_c...@yahoo.co.id> > > also physically deleting C:\Develop\fpc\2.7.x\units\arm-android directory > and recompiling fpc with CROSSOPT="-CfVFPV3 -OoFASTMATH -CpARMV6" I get the > same error. > > This is what I actually mean by "cleaning up your arm-android > installation". > If you've done that, then retry: > > > if I use only CROSSOPT="-CfVFPV3 -OoFASTMATH", FPC compiles well > > and ensure it really compiles. >
Yes, I'm doing this way. I deleted arm-android directory and recompiled with: make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm CROSSOPT="-CfVFPV3 -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- ... ... ... Installing package tcl Installation package tcl for target arm-android succeeded Skipped package univint which has been disabled for target arm-android Skipped package unixutil which has been disabled for target arm-android Installing package unzip Installation package unzip for target arm-android succeeded Skipped package users which has been disabled for target arm-android Skipped package utmp which has been disabled for target arm-android Skipped package uuid which has been disabled for target arm-android Skipped package winceunits which has been disabled for target arm-android Skipped package winunits-base which has been disabled for target arm-android Skipped package winunits-jedi which has been disabled for target arm-android Skipped package x11 which has been disabled for target arm-android Skipped package xforms which has been disabled for target arm-android Installing package zlib Installation package zlib for target arm-android succeeded Skipped package zorba which has been disabled for target arm-android Installing package fpc-all Installation package fpc-all for target arm-android succeeded make[4]: Leaving directory `c:/Develop/fpc/2.7.x/ packages' make[3]: Leaving directory `c:/Develop/fpc/2.7.x' make[2]: Leaving directory `c:/Develop/fpc/2.7.x' make[1]: Leaving directory `c:/Develop/fpc/2.7.x' c:\Develop\fpc\2.7.x> C:\Develop\fpc\2.7.x\units\arm-android reappeared, Lazarus can't compile: 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/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, ppu=..\..\..\fpc\2.7.x\units\arm-android\rtl\system.ppu Same procedure, but with CROSSOPT="-CfSOFT ...etc", everything is ok.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus