# c

Prevents linking.

## Syntax

Linux: | -c

macOS: | -c

Windows: | /c

## Arguments

None

## Default

OFF | Linking is performed.

## Description

This option prevents linking. 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

Parent topic: Output, Debug, and Precompiled Header Options