You copied the Doc URL to your clipboard.

Overview of via files

Via files are plain text files that contain command-line arguments and options to ARM development tools. You can use via files with all the ARM command-line tools, that is, you can specify a via file from the command line using the --via command-line option with:

  • armcc

  • armasm

  • armlink

  • fromelf

  • armar.

See the documentation for the individual tool for more information.

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 a tool that supports via files is invoked it:

  1. Replaces the first specified --via via_file argument with the sequence of argument words extracted from the via file, including recursively processing any nested --via commands in the via file.

  2. Processes any subsequent --via via_file arguments in the same way, in the order they are presented.

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.

Was this page helpful? Yes No