Skip to main content

IAR Embedded Workbench for Arm 9.70.x

-o

In this section:
Syntax
-o {filename|directory}  
Parameters

filename

The object code is stored in the specified file.

directory

The object code is stored in a file (filename extension o) which is stored in the specified directory.

For information about specifying a filename or directory, see Using command line assembler options.

Description

By default, the object code produced by the assembler is located in a file with the same name as the source file, but with the extension o. Use this option to specify a different output filename for the object code.

The -o option cannot be used at the same time as the -O option.

Caution

Project>Options>General Options>Output>Output directories>Object files