[fpc-devel] Error building branch targetandroid
Jeppe Græsdal Johansen
jjohan07 at student.aau.dk
Mon Jul 9 11:12:38 CEST 2012
Den 08-07-2012 14:42, Thomas Schatzl skrev:
>>> Actually, I saw that armv5 already supports blx, do not know right
>>> now why
>>> it isn't generated in the first place. Did you ever try compiling the
>>> compiler or your program with -Cparmv5? Maybe it's just that the
>>> compiler
>>> default is < armv5?
>>
>> I never really tested -Cparmv5, only -Cparmv6 and with no options (so
>> default value), I just conected the points based on your assertion
>> that default=v5, but indeed maybe it is v4.
>
> ... or even to some lower common denominator.
>
> Thomas
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
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.
More information about the fpc-devel
mailing list