[Lazarus] Cross Compile for arm-linux

Henry Vermaak henry.vermaak at gmail.com
Sun Dec 6 13:12:12 CET 2009


2009/12/6 Kjow <antispammoni at gmail.com>:
> 2009/12/5 Henry Vermaak <henry.vermaak at gmail.com>:
>> I'm still not sure why you are messing around with binutils.  You need
>> to build for maemo, so just download the maemo sdk, read the manual,
>> then try and cross compile fpc and lazarus.  Relevant links are:
>>
>> http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/Maemo/
>> http://maemo-sdk.garage.maemo.org/user-guide.html
>
> Because Maemo runs "pure" arm-linux programs and I know that
> Lazarus/fpc can compile "pure" arm-linux programs... What I know (docs
> are very few) is that to compile for arm-linux I need to use binutils
> that make utilities to generate arm-code... I know that I'm a lot
> confusing... but docs are very few...

It's true that fpc does not need any of the gcc tools, but since you
want to use lazarus, you'll need cross compiled libs of the widget set
and libc.  If you use the sdk, you get these for free.  The way you
are going now, you'll eventually need to cross compile those
libraries, too.

Henry




More information about the Lazarus mailing list