Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 7/13/2023
Public

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

Document Table of Contents

Fo

Specifies the name for an object file.

Syntax

Linux:

See option o.

Windows:

/Fo[[:]filename|dir]

Arguments

filename

Is the name for the object file.

dir

Is the directory where the object file should be placed. It can include filename.

Default

OFF

An object file has the same name as the name of the first source file and a file extension of .obj.

Description

This option specifies the name for an object file.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

Visual Studio: Output Files > Object File Name

Alternate Options

None

See Also