HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
Table 9 Identifiers
Descriptionx
Assembler (standard suffix is as)a
Compiler (standard suffix is ecom)c
Same as cC
Filter tool (standard suffix is c++filt)f
Linker (standard suffix is ld)l
Preprocessor (standard suffix is cpp.ansi).p
-tp must be used before any -Wp options can be passed to cpp.ansi. To enable
the external preprocessor, use:
-tp,/opt/langtools/lbin/cpp.ansi.
Stand-alone code generator (standard suffix is u2comp)u
All subprocessesx
Example:
The following example compiles file.C and passes the option -v to the linker.
aCC -Wl,-v file.C
Passing Options to the Linker with -W
The following example links file.o and passes the option -a archive to the linker,
indicating that the archive version of the math library (indicated by -lm) and all other
driver-supplied libraries should be used rather than the default shared library:
aCC file.o -Wl,-a,archive -lm
Passing Multiple Options to the Linker with -W
The following example links file.o and passes the options -a , archive, -m, and
-v to the linker:
aCC -Wl,-a,archive,-m,-v file.o -lm
This case is similar to the previous example, with additional options. -m indicates that
a load map should be produced. The -v option requests verbose messages from the
linker.
Symbol Binding Options
The following -B options are recognized by the compiler to specify whether references
to global symbols may be resolved to symbols defined in the current load module, or
whether they must be assumed to be potentially resolved to symbols defined in another
load module.
Symbol Binding Options 107