|Non-Confidential||PDF version||ARM DUI0529M|
|Home > Getting Started with the Compilation Tools > About specifying command-line options > Methods of specifying command-line options|
You can specify command-line options directly. Some operating systems restrict the length of the command line, so you can also specify command-line options in environment variables or in a text file.
Specify the commands directly on the command line. However, the number of options you can specify is limited by the command length supported by your operating system.
Use tool-specific environment variables. These are:
for the assembler.
ARMCC5_FROMELFOPT for the fromelf image converter.
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.