HPlogo HP C/HP-UX Programmer's Guide: HP 9000 Computers > Chapter 4 Optimizing HP C Programs

Improving Compile and Link Times

» 

Technical documentation

Complete book in PDF

 » Table of Contents

In general, optimization increases the amount of time it takes to compile your program, link your program, or both. However, the following options can help to decrease this time:

  • +objdebug shortens compile time by not copying debugging information from the object files into the executable file. For more detail, see the +[no]objdebug compiler option described in the HP C/HP-UX Reference Manual.

  • +Oreusedir shortens link time by not recompiling intermediate object code to object code when using +O4 or profile-based optimization. “+Oreusedir=directory for details.

© Hewlett-Packard Development Company, L.P.