[Lazarus] Android LCL example with 2.7.1

Sven Barth pascaldragon at googlemail.com
Thu Mar 7 09:35:32 CET 2013


Am 07.03.2013 07:25, schrieb Mattias Gaertner:
> On Thu, 7 Mar 2013 07:07:07 +0100
> Sven Barth <pascaldragon at googlemail.com> wrote:
>
>> Am 06.03.2013 23:53 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
>>> 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?
>> The only compiler that supports arm-android is 2.7.1.
> Thanks. I removed it.
Thank you.

Regards,
Sven




More information about the Lazarus mailing list