...
Option | Notes |
---|---|
-fPIC | Shared objects for ARM must use position-independent code. ld will check to make sure you've used it. |
-Wno-psabi | Prevents warnings about the implementation of stdarg. |
-Wall | Enables all other warnings. |
-march=armv7-a -mtune=cortex-a9 | Produce assembly code for the ARM Cortex-A9. |
-DEXPORT='__attribute__((visibility("default")))' | Use this macro in declarations in order to put the corresponding symbols into the dynamic symbol table. |
-fvisibility=hidden | "Hidden" visibility for all symbols except those explicitly exported. |
Assembly code
Option | Notes |
---|---|
-x assembler-with-cpp | Allow preprocessor directives in the input source code. |
-P | Omit #line directives in the preprocessor output, the assembler doesn't accept them. |
...