<div dir="ltr"><div><div><div><div>I've been trying to build a Android compiler for Windows from the latest SVN sources.<br></div>It all goes quite fast, however it hangs when compiling rtl-unicode package.<br><br>[ 85%] Compiled package rtl-console<br>
Start compiling package rtl-unicode for target arm-android.<br> Compiling rtl-unicode\BuildUnit_rtl_unicode.pp<br> Compiling .\rtl-unicode\src\inc\cpbuildu.pp<br> Compiling .\rtl-unicode\src\inc\cp932.pas<br>
Compiling .\rtl-unicode\src\inc\cp936.pas<br><br></div>I left the compilation running almost 30 minutes, nothing happened, no errors message nothing, just hangs on that file.<br></div>I tried this with FPC 2.6.0, 2.6.2 and 2.6.4, all have same problem.<br>
<br></div><div>I'm building with this command:<br>set OPTS=-gl -dSAX_HTML_DEBUG -dUSE_MINGW_GDB<br>set COMMONOPTS=UPXPROG=echo COPYTREE=echo OPT="%OPTS%" GINSTALL=myinst.exe<br>make clean crossall crossinstall OS_TARGET=android CPU_TARGET=arm CROSSOPT="-CfVFPV3" %COMMONOPTS% INSTALL_PREFIX=%INSTALLDIR% FPC=%FPCSTART%<br>
</div><div><br></div><div>I also though it could be a problem of the Android NDK since I was using a old NDK.<br></div><div>I upgraded to latest NDK, and tried it, both 4.6 and 4.8 ABI, the problem persists.<br><br></div>
<div>Some details about the part where the compilation hangs:<br>cp936.s is generated<br>cp936.o is generated<br>cp936.ppu is not generated<br></div><div><br>What could cause this?<br>I can sucessfull run the assembler externally on the .s file and it works fine. Not sure what other NDK tools are invoked during compilation, any way to have a verbose compilation mode that shows what is currently being called?<br>
</div></div>