[Lazarus] Do FPC generates old EABI code?

Kjow antispammoni at gmail.com
Tue Dec 15 17:19:20 CET 2009


2009/12/15  <darekm at emadar.com>:
> Should be
>   Target OS: Linux for ARMEL
>
> You have to recompile crosscompiller
> Its not EABI (see my descuss with Jonas on fpc-devel)
>
> make crosssinstal OPT="-dFPC_ARMEL" .......

Yes, now with the suggestions about OPT:

sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ OPT=-dFPC_ARMEL
INSTALL_PREFIX=/usr

Lazarus builds right, and "Target OS: Linux for ARMEL":

Free Pascal Compiler version 2.5.1 [2009/12/15] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARMEL
Compiling LAzARM.lpr
Compiling main.pas
Assembling main
Assembling lazarm
Linking /home/kjow/dev/TestARM/LazARM/LAzARM
5324 lines compiled, 1.7 sec
Project "LAzARM" successfully built




More information about the Lazarus mailing list