Using fpcupdeluxe in a linux 64bit box, I'm trying to get an ARM cross compiler.
I'm interested in running the code generated by the cross compiler in a Seagate Dockstar (Openwrt as a OS) that has an ARMV5TE cpu and the cross compiler got with the default options (ARMHF) generates code useless for my target due to the absence of the FPU at least .
Reading around, it seems to me that I need a cross compiler compiled at least with -CaEABI -CpARM5TE -CfSOFT while default crossopt are -CpARMV7A -CfVFPV3 -OoFASTMATH -CaEABIHF
Trying to set -CaEABI -CpARM5TE -CfSOFT in the cross build options of the Advanced setting form, fcpdeluxe terminate with an error:
Error: Illegal parameter: -CpARM5TE
fpcupdeluxe: ERROR: FPC: Running cross compiler fpc make all for arm-linux failed with an error code.
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
make[5]: ingresso nella directory "/home/fernando/laz18/fpcsrc/rtl/linux"
/home/fernando/laz18/cross/bin/arm-linux/arm-linux-gnueabihf-as -o /home/fernando/laz18/fpcsrc/rtl/units/arm-linux/prt0.o arm/prt0.as
/home/fernando/laz18/cross/bin/arm-linux/arm-linux-gnueabihf-as -o /home/fernando/laz18/fpcsrc/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as
/home/fernando/laz18/cross/bin/arm-linux/arm-linux-gnueabihf-as -o /home/fernando/laz18/fpcsrc/rtl/units/arm-linux/cprt0.o arm/cprt0.as
/home/fernando/laz18/cross/bin/arm-linux/arm-linux-gnueabihf-as -o /home/fernando/laz18/fpcsrc/rtl/units/arm-linux/gprt0.o arm/gprt0.as
/home/fernando/laz18/cross/bin/arm-linux/arm-linux-gnueabihf-as -o /home/fernando/laz18/fpcsrc/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
Error: Illegal parameter: -CpARM5TE
make[5]: *** [system.ppu] Errore 1
make[5]: uscita dalla directory "/home/fernando/laz18/fpcsrc/rtl/linux"
make[4]: *** [linux_all] Errore 2
make[4]: uscita dalla directory "/home/fernando/laz18/fpcsrc/rtl"
make[3]: *** [rtl] Errore 2
make[3]: uscita dalla directory "/home/fernando/laz18/fpcsrc/compiler"
make[2]: *** [cycle] Errore 2
make[2]: uscita dalla directory "/home/fernando/laz18/fpcsrc/compiler"
make[1]: *** [compiler_cycle] Errore 2
make[1]: uscita dalla directory "/home/fernando/laz18/fpcsrc"
And the same with -CpARM5.
Can be determined by the fact that cross binutils are for EABIHF ?
Is there a way to change that ?
Any hint appreciated.
Another question
Is there a way to get a MIPS crosscompiler ?
Tia and sorry for my English