[fpc-devel] Error building branch targetandroid

Thomas Schatzl tom_at_work at gmx.at
Mon Jul 9 11:47:16 CEST 2012

Hi again,

On Mon, 2012-07-09 at 11:33 +0200, Thomas Schatzl wrote:
> >
> > You should be using -Cparmv5t if you want armv5 and blx. The t indicates 
> > that the device has thumb support, which most have, but armv5 is usually 
> > safer, hence it's the default.
> You are right although fpc seems to generate bx with -Cparmv5 too.

Because it is correct, non-T armv5 supports the "bx" instruction without
the Thumb bit set.

> The point is how google defines its ABIs. As for Android, google
> mentions about "armeabi":
> "This is the name of an ABI for ARM-based CPUs that support *at* *least*
> the ARMv5TE instruction set. [...]"

... which means that this is a non-issue because android ABI requires a
-T variant anyway.


More information about the fpc-devel mailing list