Option Type | Default Value | #pragma options | C | C++ |
-qoption | nostatsym | - | x | x |
Syntax
-qstatsym | -qnostatsym
Purpose
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).
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
List of Batch Compiler Options and Their Defaults
Equivalent Batch Compile-Link and Incremental
Build Options