s

Applies to C Applies to C++

Purpose

This option strips the symbol table, line number information, and relocation information from the output file. Specifying -s saves space, but limits the usefulness of traditional debug programs when you are generating debug information using options such as -g.

Syntax


Syntax Diagram

Notes

Using the strip command has the same effect.

Related References

Compiler Command Line Options
g IBM Copyright 2003