Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eabihf What is hf standing for?

I am trying to understand cross compilation. Many cross compilers mention gnueabihf. I was able to understand what EABI stands for, but I couldn't find anything about the hf suffix. What does it mean?

Thank you!

like image 242
user3551775 Avatar asked Jan 20 '15 08:01

user3551775


1 Answers

hf means Hard Float.
When you use this flag, during compilation, your compiler will compile your program so that it will use the Floating Point Unit once launched.
Your program will run faster but only if you use floating points!
Be carreful not to use this flag if your CPU doesn't support it, or it will not start.

EDIT:
Also, if you use Soft Float it will compute every floats "softwarely".

like image 195
VivienG Avatar answered Nov 07 '22 14:11

VivienG