This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Toolchain difference gcc-eabihf and gcc-eabi

Hi Experts,

What is the difference between the Linux cross compiler toolchain with hard float and not ?

Is there any practical performance impact using different toolchain ?

How to experiment it with some sample code ?

Regards,

Techguyz

  • Hi techguyz,

    The impact is in which AAPCS variant it uses by default - this is important if the rest of your objects were built with one toolchain or the other.

    However, it doesn't matter which one you use to build for the AAPCS ABI in general, since you can specify -mfloat-abi=softfp to a hardfp compiler (eabihf), or -mfloat-abi=hard to a softfp compiler (eabi), depending on your application use case.

    Ta,

    Matt