HP C A.06.05 Reference Manual

Compiling and Running HP C Programs
Compiling HP C Programs
Chapter 9 211
-Bextern Performs the same operation as
+Oextern=sym1,sym2,sym3... except that symbols
are loaded from an existing file, instead of specified
on the command line.
-Bprotected Assigns protected export class to symbols.
-Bprotected_data Assigns protected export class to data symbols.
-Bprotected_def Assigns protected export class to locally defined
symbols.
-Bsymbolic Assigns protected export class to all symbols.
-c Compiles only, does not link.
-C Prevents the preprocessor from stripping
comments.
-D
name
Defines the preprocessor variable
name
with a value
of "1".
-D
name=def
Defines the preprocessor variable
name
with a value
of
def
.
-dynamic Enables linking of PIC objects.
-E Performs preprocessing only with output to stdout.
-e epsym Sets the default entry point address for output file
to the same as the symbol epsym.
-exec Indicates that object files created will be used to
create an executable file.
-ext Specifying -ext enables HP aC++ extension to the
C++ standard.
-fast Selects a combination of optimization options for
optimum execution speed and reasonable build
times.
Table 9-1 HP C Compiler Options at a Glance (Continued)
Option Description