[Lazarus] Do FPC generates old EABI code?

Kjow antispammoni at gmail.com
Tue Dec 15 10:49:14 CET 2009


2009/12/15 Florian Klaempfl <florian at freepascal.org>:
> Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither
> needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed
>  in CROSSOPT. It is only needed when the first arm compiler is built and
> in this case OPT=-dFPC_ARMEL is enough.

Hi!

So first time that I build FPC for arm, I need to do this:

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

instead of

sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ CROSSOPT="-CaEABI
-dFPC_ARMEL -CfSOFT -gl -O-" INSTALL_PREFIX=/usr/
COMPILER_OPTIONS="cpufpemu"

is it right?

Thanks!




More information about the Lazarus mailing list