HP aC++/HP C A.06.20 Programmer's Guide
-v
-v
The -v option enables verbose mode, sending a step-by-step description of the
compilation process to stderr. This option is especially useful for debugging or for
learning the appropriate commands for processing a C++ file.
Example:
The aCC -v file.C command compiles file.C and gives information about the
process of compiling.
/opt/aCC/lbin/ctcom -inst compiletime -diags 523 -D __hppa -D __hpux
-D __unix -D __hp9000s800 -D __STDCPP__ -D __hp9000s700 -D _PA_RISC1_1
-I /opt/aCC/include -I /opt/aCC/include/iostream -I /usr -I
/usr/ include
-I /usr/include -inline_power 0 app.C
LPATH=/usr/lib:/usr/lib/hpux32/pa1.1
:/usr/lib:/opt/langtools/lib:/usr/lib
/opt/aCC/lbin/ld -o a.out /opt/aCC/lib/crt0.o -u ___exit -u main
-L /opt/aCC/lib /opt/aCC/lib/cpprt0.o app.o -lstd -lstream -lCsup
-lm /usr/lib/hpux32/libcl.a -lc /usr/lib/hpux32/libdld.so >/usr/tmp/AAAa28149 2>&1
removing /usr/tmp/AAAa28149
-V
-V
The -V option displays the version numbers of the current compiler and linker (if the
linker is executed). Use this option whenever you need to know the current compiler
and linker version numbers.
Example:
aCC -V app.C
aCC: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]
ld: 92453-07 linker ld HP Itanium(R) B.12.24 PBO 040820 (IPF/IPF)
Concatenating Options
You can concatenate some options to the aCC command under a single prefix. The
longest substring that matches an option is used. Only the last option can take an
argument. You can concatenate option arguments with their options if the resulting
string does not match a longer option.
Examples:
Suppose you want to compile my_file.C using the options -v and -g1. Below are
equivalent command lines you can use:
• aCC my_file.C -v -g1
• aCC my_file.C -vg1
• aCC my_file.C -vg1
• aCC -vg1 my_file.C
Concatenating Options 123