| |||
| Home > Using the ARM Compiler toolchain to build a Linux application or library > Typical assembler command-line options | |||
When using assembly code in your application or library, you usually have to specify the following armasm command-line options:
--apcs=/interworkThis instructs the assembler to set the build attributes in the object file to indicate that the code is ARM and Thumb interworking-safe.
--no_hide_allThis indicates that the assembler must use dynamic import and export for all global symbols.
ARM also recommended that you specify a CPU or architecture
with the --cpu option that at least conforms to ARM
Architecture v5TE (ARMv5TE), for ease of interoperation
with the GNU tools.
Assembler Reference: