[Lazarus] Compiling lazarus on arm-linux

Martin Schreiber mse00000 at gmail.com
Wed Sep 30 15:43:31 CEST 2015


On Wednesday 30 September 2015 14:56:54 Koenraad Lelong wrote:
> Hi,
>
> I'm trying to compile lazarus on an arm-linux system (odroid C1, but
> also on RPi model 2). It works until this :
>
> ...
> make --assume-new=svn2revisioninc.pas svn2revisioninc
> make[2]: Entering directory `/home/odroid/Downloads/source/tools'
> Makefile:2332: warning: overriding commands for target `.'
> Makefile:2330: warning: ignoring old commands for target `.'
> /home/odroid/fpc-2.6.4/bin/ppcarm -gl  -Fu.
> -Fu../components/lazutils/lib/arm-linux -Fu../lcl/units/arm-linux
> -Fu../lcl/units/arm-linux/nogui -FE. -FU.
> -Fl/usr/lib/gcc/arm-linux-gnueabihf/4.9 -Flinclude
> -Fl/etc/ld.so.conf.d/*.conf -dFPC_ARMHF -darm svn2revisioninc.pas
> Free Pascal Compiler version 2.6.4 [2014/03/21] for arm
> Copyright (c) 1993-2014 by Florian Klaempfl and others
> Target OS: Linux for ARMEL  <<<<<<<<<<<<<<<<--------------

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




More information about the Lazarus mailing list