I am trying to compile the ARMCM4-STM32F407-DISCOVERY demo from the stable_2.6.x branch with FPU enabled and I am facing the following compiler error:
Code: Select all
Compiling crt0.c
arm-none-eabi-gcc: error: unrecognized argument in option '-mfloat-abi=yes'
arm-none-eabi-gcc: note: valid arguments to '-mfloat-abi=' are: hard soft softfp
../../os/ports/GCC/ARMCMx/rules.mk:183: recipe for target 'build/obj/crt0.o' failed
make: *** [build/obj/crt0.o] Error 1
I am using the GNU ARM GCC 4.8.4:
Code: Select all
[tectu@TecTop ARMCM4-STM32F407-DISCOVERY]$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.4 20140526 (release) [ARM/embedded-4_8-branch revision 211358]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note: The project compiles fine with FPU disabled.
Note: LTO is disabled as well.
Any ideas? I never had issues compiling with FPU support in the past (quite a few months ago, thought).
~ Tectu