Examples:

The aCC +time app.C command generates the following information:

process:

compiler

0.94/u

0.65/s

4.35/r

process:

ld

0.37/u

0.76/s

3.02/r

The aCC -v +time app.C command generates the following information:

/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

file

name: app.C

 

 

 

file

size: app.o 444 + 16 + 1 = 461

 

process

user

sys

real

------------------------------------------

process: compiler

0.93 0.13

1.17

------------------------------------------

line numbers: app.C 7

lines/minute: app.C 396

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

file size: a.out 42475 + 1676 + 152

= 44303

process

user

sys

real

------------------------------------------

process: ld

0.35 0.24

0.82

------------------------------------------

total link time(user+sys): 0.59 removing /usr/tmp/AAAa28149 removing app.o

-v

-v

The -voption 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 -Voption 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:

94 Command-Line Options

Page 94
Image 94
HP C/aC++ for PA-RISC Software manual Process Compiler 94/u 65/s 35/r 37/u 76/s 02/r