One more thing:
I need both LAMW and mORMot. The problem is that mORMot requires up to date FPC and the FPC in Laz4Android is rather old.
I have installed Lazarus and FPC from trunk with fpcupdeluxe, which is an other option to set up cross compilation easily.
Is there a way this path could work? Currently the compilation fails.
Fatal: Cannot find system used by controls. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\fpcupdeluxe\fpc\units\arm-android\rtl\system.ppu..
The meaning of the error message is not quite clear to me, because system.ppu does exists in C:\fpcupdeluxe\fpc\units\arm-android\rtl.
I assume compiler options may have something to do with it.
-Xd
-CfSOFT
-CpARMV6 / -CpARMV7A (tried both with clean up and build)
-XParm-linux-androideabi-
-FDC:\Android\ndk\\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin
It would be great to have a solution to use LAMW with up to date FPC.