You copied the Doc URL to your clipboard.

Specifying command-line options with an environment variable

You can specify command-line options by setting the value of a tool-specific environment variable:

  • ARMCCnn_ASMOPT for the assembler

  • ARMCCnn_CCOPT for the compiler

  • ARMCCnn_FROMELFOPT for the fromelf image converter

  • ARMCCnn_LINKOPT for the linker.

The syntax is identical to the command-line syntax. The compilation tool reads the value of the environment variable and inserts it at the front of the command string. This means that you can override options specified in the environment variable by arguments on the command-line.

Was this page helpful? Yes No