[Lazarus] Do FPC generates old EABI code?

darekm at emadar.com darekm at emadar.com
Tue Dec 15 09:27:51 CET 2009


> 2009/12/14 Kjow <antispammoni at gmail.com>:
>> I don't understand... Now I forced to use as -meabi=5 , but there are
>> still errors. I compiled Lazarus lcl, from the IDE. FPC uses the same
>> binutils that Lazarus.
>
> Ok... it seems that lazarus doesn't use my own binutils path. So I
> "tricked" original arm-linux-as to force -meabi=5 and it seems to
> work.
>
> But it is not the end... there will be an end?
>
> Hint: Start of reading config file /home/kjow/.fpc.cfg
> Hint: Start of reading config file /etc/fpc.cfg
> Hint: End of reading config file /etc/fpc.cfg
> Hint: End of reading config file /home/kjow/.fpc.cfg
> Free Pascal Compiler version 2.5.1 [2009/12/14] for arm
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for ARM
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" .......


Darek







More information about the Lazarus mailing list