-c

Category

Object code control

@PROCESS

None.

Purpose

Instructs the compiler to compile or assemble the source files only but do not link. With this option, the output is a .o file for each source file.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -c---------------------------------------------------------><

Defaults

Not applicable.

Usage

Using the -o option in combination with -c selects a different name for the .o file. In this case, you can only compile one source file at a time.

Related information