HP C/iX Reference Manual (31506-90011)
Chapter 8 117
Compiling and Running HP C/iX Programs
HP C/iX Compiler Options
The
+arg1 +arg2
notation can be used as a shorthand for the
-arg1,-arg2
notation.
The arguments to the compiler option can be one or more of the following:
-P Only runs the preprocessing phase on the source file and stores the result in the
file normally used for the object file. For example, preprocessor output from the
command CCXL MYSOURCE, CPPLIST;INFO="-P" is sent to the ASCII file
CPPLIST.
-U
name
Removes any initial definition of
name
in the preprocessing phase.
-v Enables the verbose mode, producing a step-by-step description of the
compilation process on the listing file.
-w Suppresses warning messages.
-W
x,arg1[,
arg2,
...,argn]
Hands off the arguments
arg1
through
argn
to the phase
x
of the compilation;
x
can be one of the following values:
Value Description
p Preprocessor
c Compiler
Argument Description
-C
size
Creates the output file for the preprocessing phase with a record length of
size.
The default is 512 bytes.
-e Allows the use of extension features, such as long pointers and using the $
character in the identifier name.
-F
size
Creates the output file for the preprocessing phase with a limit of
size.
The
default is 7500 records.
-m Causes the identifier maps to be printed. Refer to chapter 11, "The Listing Facility,"
for listing options and format.
-o Causes the code offsets to be printed. Refer to chapter 11, "The Listing Facility," for
listing options and format.
-Obb
num
Specifies the maximum number of basic blocks allowed in a procedure which is to
be optimized at level 2. A basic block is a sequence of code with a single entry point,
single exit point, and no internal branches. Optimizing procedures with a large
number of basic blocks can take a long time and use a large amount of memory. If
the limit is exceeded, a warning message lists the name of the procedure and the
number of basic blocks it contains, and then level 1 optimization is performed. The
default value for this limit, if this option is not present is 500. This option implies
level 2 optimization (equivalent to -O or +O2).
Option Description