| United States-English |
|
|
|
![]() |
HP Itanium-based Systems: HP aC++/HP C Programmer's Guide > Chapter 2 Command-Line OptionsVerbose Compile and Link Information |
|
Use the following options to obtain additional information about:
+dryrun The +dryrun option generates subprocess information for a given command line without running the subprocesses. It is useful in the development process to obtain command lines of compiler subprocesses in order to run the commands manually or to use them with other tools. Example: The following command line gives the same kind of information as the -v option, but without running the subprocesses. aCC +dryrun app.C +O[no]clone The +O[no]clone option influences cloning both into and out of the functions it governs. Cloning is controlled by a list-free option +O[no]clone analogous to +O[no]inline. It is on by default with +O3 and +O4, and can be disabled. Example: $ cc -c +Oprofile=use +O4 foo.c +Onoclone $ cc -c +Oprofile=use +O4 bar.c In the above example, +Onoclone applies to the function foo, and directs that foo itself should not be cloned and that calls from foo (bar) should not be redirected to clones. +O[no]info The +Oinfo option displays informational messages about the optimization process. This option may be helpful in understanding what optimizations are occurring. You can use the option at levels 0-4. The default is +Onoinfo at levels 0-4. +time The +time option generates timing information for compiler subprocesses. For each subprocess, estimated time is generated in seconds for user processes, system calls, and total processing time. This option is useful in the development process, for example, when tuning an application’s compile-time performance. Examples:
-v The -v option 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.
-V The -V option 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: aCC -V app.C
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||