Option Type | Default Value | #pragma options | C | C++ |
-flag | - | PRORITY=number | x |
Syntax
-qpriority=number
PRIORITY=number
Purpose
Specifies the priority level for the initialization of static constructors
Notes:
number | Is the initialization priority level assigned to the static constructors
within a file, or the priority level of a shared or non-shared file or library. You can specify a priority level from -(2147483647 + 1) (highest priority) to +2147483647 (lowest priority). |
Example
To compile the file myprogram.C to produce an object file myprogram.o so that
objects within that file have an initialization priority of -200, enter:
xlC myprogram.C -c -qpriority=-200
All objects in the resulting object file will be given an initialization priority of -200, provided that the source file contains no #pragma priority(number) directives specifying a different priority level.
List of Batch Compiler Options and Their Defaults
Equivalent Batch Compile-Link and Incremental
Build Options