[fpc-devel] targetandroid - x86 as target cpu

Thomas Schatzl tom_at_work at gmx.at
Wed Aug 1 10:09:21 CEST 2012


On Wed, 2012-08-01 at 09:38 +0200, Thomas Schatzl wrote:
> Hi,
> On Tue, 2012-07-31 at 14:20 +0200, Dennis Spreen wrote:
> > Thomas wrote:
> > 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.

"Work" in that context means something that runs on an android-x86
device, not necessarily being set up correctly.

> 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).

And setting the correct global defines (e.g. ANDROID instead of LINUX)
which is important in some cases.


More information about the fpc-devel mailing list