[fpc-devel] Re: Building the Android branch

Thomas Schatzl tom_at_work at gmx.at
Thu Dec 20 17:24:29 CET 2012


On Thu, 2012-12-20 at 17:09 +0100, Sven Barth wrote:
Am 19.12.2012 17:18, schrieb Sven Barth:
> > Am 19.12.2012 16:42, schrieb Thomas Schatzl:
> >>>[...]
>> - yes. See http://developer.android.com/tools/devices/emulator.html.
> >> Btw, there is not much point to compiling for armv6 for Android.
The two
> >> official ABIs are either armv5te + softfloat or armv7a + vfpv3_d16
> >> (maybe v2).
> > Then I'll need to recompile for ARMv5...
> I have now managed to compile a simple library (a conversion of the 
> hello-jni example) and execute it. I had made a mistake though which 
> could also be the solution to my LCL problem: I had forgotten to pass 
> -CpARMv5 as the compiler defaults to some other version of ARM. I'll 
> need to recheck this for the LCL example. 

Default is some unspecified ARM.

Would something speak against making ARMv5 the default CPU type for 
> Android? AFAIK that is the minium that Android supports...

No. You may report that as a bug/feature request in the tracker already.

I am aware that before merging to trunk a lot of such things to make
life easier need to be cleaned up.


More information about the fpc-devel mailing list