Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

o

Specifies the name for an output file.

Syntax

Linux:

-o filename

macOS:

-o filename

Windows:

None

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 -preprocess-only or -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 and macOS: None

Windows: /exe

See Also