Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑f

In this section:
Syntax
‑‑f filename
Parameters

filename

The commands that you want to extend the command line with are read from the specified file. Notice that there must be a space between the option itself and the filename.

For information about specifying a filename, see Specifying options and their parameters.

Description

Use this option to make the assembler read command line options from the named file, with the default filename extension xcl.

In the command file, you format the items exactly as if they were on the command line itself, except that you may use multiple lines, because the newline character acts just as a space or tab character.

Both C and C++ style comments are allowed in the file. Double quotes behave in the same way as in the Microsoft Windows command line environment.

If you use the assembler option -Y, extended command line files specified using ‑‑f will generate a dependency, but those specified using -f will not generate a dependency.

See also

-Y and -f.‑‑dependencies

Caution

To set this option, use Project>Options>Assembler>Extra Options.