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

ID 767253
Date 11/07/2023
Public

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

Document Table of Contents

c

Causes the compiler to generate an object only and not link.

Syntax

Linux:

-c

Windows:

/c

Arguments

None

Default

OFF

Linking is performed.

Description

This option causes the compiler to generate an object only and not link. Compilation stops after the object file is generated.

The compiler generates an object file for each C or C++ source file or preprocessed source file. It also takes an assembler file and invokes the assembler to generate an object file.

IDE Equivalent

None

Alternate Options

None