hardfloat - support? #14

thomask77 opened this Issue Nov 26, 2011 · 7 comments


None yet

5 participants



Is there any support for -mfloat-abi=hard yet?

This would be a real killer feature for SAT, because the free version of the commercial toolchains always omit this calling convention. There are also cheap STM32F4 discovery boards which would really benefit from that.


I have been trying to get this working (unsuccessfully) over the last few days also. +1

esden commented Nov 29, 2011

I know that this is a broadly requested feature. I sadly did not have time till now to take a look into that, and I am not sure when I will. :(


I have had success using the hard floating point unit with MikeSmith's fork of this project.


for the record, the flags you should use are:

-mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian


I tried to compile summon-arm-toolchain in windows with Git Bash; but encounter the "Found unknown OS. Aborting!" error after running ./summon-arm-toolchain.

Is there a workaround for this? Thanks!


I managed to get a working hardfloat toolchain, though I have heard from some that they are unable to get it to build.



Since some time, there's also an official(?) toolchain from ARM(?) with hardfloat-multilibs:


I'm using it for all my new projects, replacing the CodeSourcery toolchain.

esden commented Jan 22, 2013

Hardfloat should be working now. Please open a new issue if this still persists. :)

@esden esden closed this Jan 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment