Recently, I wrote c applications for the purpose of a hand. To cross-compile the application for the purpose of the hand, there was a flag -mfloat-abi=hardthat should have been used. But I did not understand what this means. Can someone explain what the flag means. What changes will it make when compiling the application?
-mfloat-abi=hard
Take a look at the documentation :
-mfloat-abi=name, ABI . : "soft", "softfp" "hard". " GCC , ." Softfp" , - soft-float. 'Hard FPU.
-mfloat-abi=name
. , ABI ; ABI .
, hard . soft , FP .
hard
soft
, softfp , soft ( ABI), FP , FP, .
softfp
soft softfp , ABI, . hard , .
? , . ABI , . -, ABI .
, soft ABI, , , , FP, softfp , .
. ARM , ( , ) ( . ). , FPU , , :
Hard-float: , , FP FPU. , FPU, , , .
Soft-float: , 32- 64- . callle FPU, , , , . , FPU ( ).
, , , , - , soft-float, , , - float r1, s0 . , s0, , r0, .
r1
s0
r0
, toolchain , , hard-float . , multilib , , , , .
Source: https://habr.com/ru/post/1598574/More articles:How can I get the URL of the query string that was sent to the robospice upgrade? - androidWhat is the definition of ++ p, where p is const char * p in C? - cHow to use static import in Android Studio - androidSetting shadow on android TabLayout - androidJPanel - Problems replacing the currently displayed image with a new thumbnail - javaSlim 3 autoloader - phpget cmdline of a process in MAC os from another C executable - system-callsVectorizing the install_github function from devtools to R - githubPointers fast: target UnsafeMutableBufferPointer - pointersWhy toList () doesn't exist directly on Java 8 Stream - javaAll Articles