[Lazarus] Cross Compile for arm-linux

Kjow antispammoni at gmail.com
Sun Dec 6 02:52:51 CET 2009


2009/12/5 Henry Vermaak <henry.vermaak at gmail.com>:
> You can probably fix this with passing --disable-werror to ./configure.

Perfect!

 ./configure --target=arm-linux --disable-werror
make
sudo make install

and now I have:

/usr/local/bin/arm-linux-as
/usr/local/bin/arm-linux-ld

So, I think that binutils are compiled right!

> 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...

e.g. here: http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM

It starts from arm-linux-fpc and than ARM-binutils, but everything is
very old and there isn't any precompiled package (such as arm-wince)
so I must do all myself, but there isn't tutorials or explicative/step
by step documents...

Thank you!




More information about the Lazarus mailing list