[fpc-devel] targetandroid - x86 as target cpu
tom_at_work at gmx.at
Wed Aug 1 09:38:27 CEST 2012
On Tue, 2012-07-31 at 14:20 +0200, Dennis Spreen wrote:
> Thomas wrote:
> "Note that if you want to try, some time ago android/x86 compiler
> support has been added (must add -Cfsse3 though to get valid
> But one has to specifiy OS_TARGET=linux instead of OS_TARGET=android?
> Is this correct?
No, OS_TARGET=android should be specified, although I believe that
actually a regular linux compiler (i.e. compiled with OS_TARGET=linux)
should work too as long as the rtl is compiled with -Cfvsse3 too.
make crossinstall OS_TARGET=android CPU_TARGET=x86 CROSSOPT="-Cfsse3"
I saw that I forgot to add and commit the rtl/android/i386 directory. As
temporary measure just copy over the files from rtl/linux/i386... :)
I will fix that.
The x86 android compiler support mostly concerns registration of the
target in the compiler and tools, and some modifications to default
libraries and fpc.cfg (the latter which I didn't really get around).
More information about the fpc-devel