[Lazarus] Android LCL example with 2.7.1
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Mar 7 07:25:11 CET 2013
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.
Mattias
More information about the Lazarus
mailing list