[Lazarus] Cross-compiling for Raspberry Pi2

Bo Berglund bo.berglund at gmail.com
Fri Sep 18 18:12:32 CEST 2015


On Fri, 18 Sep 2015 14:20:43 +0100, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:

>On 2015-09-18 at 00:43, Bo Berglund wrote:
>
>> It seems like an easier way to build directly on the end hardware than
>> crosscompiling.
>
>Yeah, that's what I've been doing for years, and it works very well. I
>have an original RPi, so even less memory and CPU power, so I opted not
>to use Lazarus IDE or LCL. Maximus or MSEide only use 15-25MB of RAM
>(compared to Lazarus's 100+MB for the same project).
>
>You can obviously compile from the command line too and use any
>lightweight text editor if you want.
>

Does that mean I can install FPC only on the Pi and then develop on a
Linux box (x86) using Lazarus and then move the project to the Pi and
recompile using the FPC from a terminal on the Pi?
Anything I need to take into account for that to work?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list