[Lazarus] Do FPC generates old EABI code?
Florian Klaempfl
florian at freepascal.org
Tue Dec 15 10:35:51 CET 2009
Dariusz Mazur schrieb:
> Kjow pisze:
>> 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" .......
>>>
>>
>> This is the command that I used to make crosscompiler:
>>
>> 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"
>>
>
> sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux
> CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ OPT="-dFPC_ARMEL"
> CROSSOPT="-CaEABI -dFPC_ARMEL -CfSOFT -gl -O2" INSTALL_PREFIX=/usr/
>
>
>
> add OPT, remove COMPILER_OPTIONS
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.
More information about the Lazarus
mailing list