AnsweredAssumed Answered

mcuxpresso sdk lpc54114 floating point soft abi

Question asked by klausrschambeck on Aug 4, 2017
Latest reply on Aug 15, 2017 by Carlos_Mendoza

C++ project : i tried to select in the C, C++ compiler, assembler and linker -> architecture setting either FPv4-SP (SOFT-ABI) or NONE, but the linker throws errors


/usr/mcuxpresso/mcuxpressoide-10.0.2_411/ide/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: error: /usr/local/e_drive/Baja/code-arm/cortex_54114/lpc54114_sdk_main/libs/libfsl_power_cm4_hard.a(fsl_power_lib.o) uses VFP register arguments, lpc54114_sdk_main.axf does not
/usr/mcuxpresso/mcuxpressoide-10.0.2_411/ide/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/e_drive/Baja/code-arm/cortex_54114/lpc54114_sdk_main/libs/libfsl_power_cm4_hard.a(fsl_power_lib.o)


selecting FPv4-SP (HARD-ABI) works ... but what if i don't want the hard-abi for compatibility reasons with other soft-abi based interface libraries


the issue seems to be the libfsl_power_cm4_hard.a library


is there a libfsl_power_cm4_soft.a or libfsl_power_cm4_none.a version or similar available, or do i need to download a different sdk from nxp


or simply put how can this be resolved if i do not want the hard-abi support in my C++ project


an answer would be highly appreciated