Kenwood HP 9000 Personal Computer User Manual


 
Chapter 8 291
Ways to Improve Performance
Profile-Based Optimization
nm . The nm command works on I-SOM files. However, since code
generation has not yet been performed, some of the imported symbols
that might appear in an ordinary relocatable object file will not appear in
an I-SOM file.
ar . I-SOM files can be manipulated with ar in exactly the same way
that ordinary relocatable files can be.
strip . Do not run strip on files compiled with +I or +P. Doing so
results in an object file that is essentially empty.
Compiler Options . Except as noted below, all cc, CC, and f77
compiler options work as expected when specified with +I or +P:
-g This option is incompatible with +I and +P.
-G This option is incompatible with +I, but compatible
with +P (as long as the insertion of the gprof library
calls does not affect the control flow graph structure of
the procedures.)
-p This option is incompatible with +I option, but is
compatible with +P (as long as the insertion of the
prof code does not affect the control flow graph
structure of the procedures.)
-s You should not use this option together with +I. Doing
so will result in an object file that is essentially empty.
-S This option is incompatible with +I and +P options
because assembly code is not generated from the
compiler in these situations. Currently, it is not
possible to get assembly code listings of code generated
by +I and +P.
-y/+y The same restrictions apply to these options that were
mentioned for -g above.
+o This option is incompatible with +I and +P. Currently,
you cannot get code offset listings for code generated by
+I and +P.
Compatibility with 9.0 PBO
PBO is largely compatible between the 9.0 and 10.0 releases.