Hi,
2013/5/15 leledumbo <[email protected]> > Isn't the error message clear enough? > The error is clear, but the solution is not... > > 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 > > The compiler tries to load the system unit, but it's compiled with > different > FPU mode that the one you're targetting with. Try cleaning up your > arm-android installation and ensure that second FPC compilation really > works. > How to clean arm-android installation? When I call "make" I use: make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm ...etc > > > error on FPC compiling > > I haven't tried, but please be verbose about the error. > With: CROSSOPT="-CfVFPV3 -OoFASTMATH -CpARMV7" ... ... ... c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:59995: Error: lo register required -- `ldmfd r13!,{r4,r15}' c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:60007: Error: lo register required -- `stmfd r13!,{r4,r14}' c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:60105: Error: lo register required -- `ldmfd r13!,{r4,r15}' c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:60167: Error: lo register required -- `ldr r12,[r0]' c:\Develop\fpc\2.7.x\rtl\units\arm-android\system.s:60168: Error: lo register required -- `ldr r12,[r12,#100]' system.pp(379) Error: Error while assembling exitcode 1 system.pp(379) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted make[4]: *** [system.ppu] Error 1 make[4]: Leaving directory `c:/Develop/fpc/2.7.x/rtl/android' make[3]: *** [android_all] Error 2 make[3]: Leaving directory `c:/Develop/fpc/2.7.x/rtl' make[2]: *** [rtl_all] Error 2 make[2]: Leaving directory `c:/Develop/fpc/2.7.x' make[1]: *** [build-stamp.arm-android] Error 2 make[1]: Leaving directory `c:/Develop/fpc/2.7.x' make: *** [crossall] Error 2 c:\Develop\fpc\2.7.x> With (but lazarus build error): CROSSOPT="-CfVFPV3 -OoFASTMATH -CpARMV6" ... ... ... 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> Thank you, Kjow
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
