Overview of via files
Via files are plain text files that allow you to specify assembler command-line arguments and options.
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.
Note
In general, you can use a via file to specify any command-line
option to a tool, including --via
. This means that you
can call multiple nested via files from within a via file.
Via file evaluation
When the assembler is invoked it:
Replaces the first specified
--via
argument with the sequence of argument words extracted from the via file, including recursively processing any nestedvia_file
--via
commands in the via file.Processes any subsequent
--via
arguments in the same way, in the order they are presented.via_file
That is, via files are processed in the order you specify them, and each via file is processed completely including processing nested via files before processing the next via file.