-qstatsym

Description

Adds user-defined, nonexternal names that have a persistent storage class, such as initialized and uninitialized static variables, to the name list (the symbol table of xcoff objects).

Syntax

Read syntax diagramSkip visual syntax diagram        .-nostatsym-.
>>- -q--+-statsym---+------------------------------------------><

Default

The default is to not add static variables to the symbol table. However, static functions are added to the symbol table.

Example

To compile myprogram.C so that static symbols are added to the symbol table, enter:

xlc++ myprogram.C -qstatsym

Related information