Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP C/HP-UX Programmer's Guide: HP-UX Systems > Chapter 4 Optimizing HP C Programs

Removing Compilation Time Limits When Optimizing

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

You can remove optimization time restrictions at the second, third, or fourth optimization levels by using the +Onolimit option as follows:

cc +O2 +Onolimit sourcefile.c

or:

cc +O3 +Onolimit sourcefile.c

or:

cc +O4 +Onolimit sourcefile.c

By default, the optimizer limits the amount of time spent optimizing large programs at levels 2, 3, and 4. Use this option if longer compile times and greater virtual memory use are acceptable because you want additional optimizations to be performed.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.