Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

o

Specifies the name for an output file.

Syntax

Linux:

-o filename

Windows:

See option Fo.

Arguments

filename

Is the name for the output file. The space before filename is optional.

Default

OFF

The compiler uses the default file name for an output file.

Description

This option specifies the name for an output file as follows:

  • If -c is specified, it specifies the name of the generated object file.

  • If -S is specified, it specifies the name of the generated assembly listing file.

  • If -P is specified, it specifies the name of the generated preprocessor file.

Otherwise, it specifies the name of the executable file.

IDE Equivalent

None

Alternate Options

Linux: None

Windows: /Fe

See Also