| Option Type | Default Value | #pragma options | C | C++ |
| -qoption | nocompact | COMPact | x | x |
Syntax
-qcompact | -qnocompact
COMPACT | NOCOMPACT
Purpose
When used with optimization, reduces code size where possible, at the expense of
execution speed.
Notes
Code size is reduced by inhibiting optimizations that replicate or expand code
inline. Execution time may increase.
Example
To compile myprogram.c to reduce code size, enter:
xlC myprogram.c -qcompact
![]()
List of Batch Compiler Options and Their Defaults
Options that Define the Compiler Object Code Produced
Equivalent Batch Compile-Link and Incremental
Build Options
