HP C A.06.05 Reference Manual
Compiling and Running HP C Programs
Compiling HP C Programs
Chapter 9 213
-p Inserts information required by the prof profiler in
the object file.
-P Performs preprocessing only with output to the
corresponding
.i
file.
-q Marks the executable as demand loadable.
-Q Marks the executable as not being demand
loadable.
-r Retains relocation information in the output file for
subsequent relinking.
-s Strips the symbol table from the executable file.
-S Generates an assembly language source file.
-t
x,name
Substitutes or inserts subprocess
x
with
name
.
-U
name
Undefines
name
in the preprocessor.
-v Enables verbose mode.
-V Causes subprocesses to print version information to
stderr.
-w Suppresses warning messages.
-W
x
,
arg1 [,arg2,..,argn]
Passes the arguments
arg1
through
argn
to the
subprocess
x
.
-Wc,-ansi_for_scope [on|off] Enables or disables the standard scoping rules for
init declarations in for statements.
-Wc,-koenig_lookup,[on|off] Enables or disables standard argument-dependent
lookup rules.
-Y Enables Native Language Support (NLS).
-z Disallows runtime dereferencing of null pointers.
-Z Allows dereferencing of null pointers at runtime.
Table 9-1 HP C Compiler Options at a Glance (Continued)
Option Description