[Lazarus] Compiling lazarus on arm-linux

Koenraad Lelong lazarus2 at de-brouwerij.be
Wed Sep 30 20:22:44 CEST 2015


Op 30-09-15 om 19:06 schreef Mark Morgan Lloyd:
> Koenraad Lelong wrote:
>> Op 30-09-15 om 15:43 schreef Martin Schreiber:
>>>
>>> This is wrong, you need a eabihf compiler, either a patched FPC 2.6.4 or
>>> better FPC 3.0.1 from here:
>>> http://sourceforge.net/projects/mseide-msegui/files/fpcrossarm/
>>>
>>> Martin
>> Thanks,
>>
>> Although the link points to a crosscompiler, I managed to compile
>> lazarus on the odroid with binaries from your repo. I had to configure
>> the device to run without GUI because of lack of memory.
>> Unfortunately, when I start lazarus, it complains it can't find the
>> fpc-sources, which is true, because I only have a number of binaries.
>> Can I just get the svn-sources and use these ?
>>
>> And when I try to add packages in lazarus, I can't because of lack of
>> memory. So how can I add packages from the command-line ?
>
> Add a USB memory stick and put a swap partition on it. Assume you need
> at least 512Mb overall memory to build Lazarus.
> http://wiki.lazarus.freepascal.org/Native_ARM_Systems
>
Thanks,

An odroid C1 has 1G ram, more than 800M free.
But I added an SD-card as swap, and I could compile lazarus with extra 
packages :-).
Remains the fact that lazarus keeps complaining about the fpc-sources.

Koenraad.





More information about the Lazarus mailing list