-s

Category

Object code control

Pragma equivalent

None.

Purpose

Strips the symbol table, line number information, and relocation information from the output file.

This command is equivalent to the operating system strip command.

Syntax

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

Defaults

The symbol table, line number information, and relocation information are included in the output file.

Usage

Specifying -s saves space, but limits the usefulness of traditional debug programs when you are generating debugging information using options such as -g.

Predefined macros

None.

Related information