HP 3000 Manuals

Combining Optimization Parameters on HP-UX [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation


HP C Programmer's Guide

Combining Optimization Parameters on HP-UX 

Optimization parameters that affect code size, compile-time, and the
aggressiveness of the optimizations performed can be combined with a
level of optimization.

For example, to specify conservative optimizations at level 2 and disable
code-expanding optimizations, use:

     cc +O2 +Oconservative +Osize sourcefile.c

+Olimit and +Osize can be used with either +Oaggressive or
+Oconservative.

You cannot use +Oaggressive with +Oconservative.



MPE/iX 5.0 Documentation