-qweaksymbol

Description

Instructs the compiler to generate weak symbols.

Syntax

Read syntax diagramSkip visual syntax diagram        .-noweaksymbol-.
>>- -q--+-weaksymbol---+---------------------------------------><

Notes

The default setting of this option is -qnoweaksymbol on AIX 5.1 and -qweaksymbol on AIX 5.2 and higher. A symbol is marked as weak, when it is only visible within its own compilation unit.

When -qweaksymbol is in effect, the compiler generates weak symbols for the following:

Related information