[Lazarus] Android LCL example with 2.7.1

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 6 23:53:33 CET 2013


On Wed, 06 Mar 2013 15:48:43 +0100
Sven Barth <pascaldragon at googlemail.com> wrote:

> Hello together!
> 
> I've managed to run the Android LCL example compiled with the 
> arm-android port of 2.7.1 on the Android emulator (API version 8) with 
> default settings (no -Cparmv6). What is important though is that in the 
> lcl.lpk the following code in the Conditionals is removed (line 49) 
> otherwise a SIGILL error happens when starting the app:
> 
> === code begin ===
> 
> if TargetCPU='arm' then
>    CustomOptions := '-CpARMV6';
> 
> === code end ===

It can only be removed for fpc 2.7.1?
What about 2.6.2?

Mattias




More information about the Lazarus mailing list