Overview of via files
Via files are plain text files that allow you to specify command-line arguments and options for the armasm, armlink, fromelf, and armar tools.
Typically, you use a via file to overcome the command-line length limitations. However, you might want to create multiple via files that:
- Group similar arguments and options together.
- Contain different sets of arguments and options to be used in different scenarios.
NoteIn general, you can use a via file to specify any command-line option to a tool, including
--via. Therefore, you can call multiple nested via files from within a via file.
Via file evaluation
When you invoke the armasm, armlink, fromelf, or armar, the tool:
Replaces the first specified
--viaargument with the sequence of argument words that are extracted from the via file, including recursively processing any nested
--viacommands in the via file.
Processes any subsequent
--viaarguments in the same way, in the order they are presented.
That is, via files are processed in the order that you specify them. Each via file is processed completely, including any nested via files contained in that file, before processing the next via file.