Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

c89(1) OSS Shell and Utilities Reference Manual
-Woptfile="filename"
Species an optimizer le, which contains a list of functions that are to be optimized at
the level specied in the le. The optimizer le can raise or lower the optimize level
for the given functions.
Functions in the module that are not listed in the optimizer le are compiled at the level
given in the -Woptimize ag, or, if no -Woptimize ag is specied, at the default
optimize level.
Each line of the optimizer le can contain only one function name and the optimize
level (0, 1, or 2) that you want for that function. The function name must be the inter-
nal name used for linking; for C++ programs, the mangled name must be used.
-Woptimize=opt
Species the optimization level. opt must be 0, 1,or2. The default value is 1. -O is
equivalent to -Woptimize=2.
-W[no]optional_lib
Indicates whether a library specied in the command stream should be considered |
optional when the ld or eld linker creates a loadle. |
When -Wnooptional_lib behavior is in effect, any library specied in a -l or -lib ag is |
included in the .liblist section of the loadle being created. When -Woptional_lib |
behavior is in effect, a specied library can be omitted from the .liblist section of the |
loadle being created if omitting it would not affect how symbolic references are |
resolved.
These ags can be specied as many times as needed in the command stream. Provid-
ing either ag overrides the current setting, so that the linker actions can be controlled
on a library-by-library basis.
If a library is specied more than once, and at least one specication occurs when
-Wnooptional_lib is in effect, the library is included in the .liblist section of the
loadle being created.
The default behavior is -Wnooptional_lib.
-W[no]overflow_traps
Enables [disables] overow traps. The default setting is -Wnooverow_traps.
-WP Preprocesses the specied source les. No compilation or linking is performed. Out-
put is placed in corresponding les with .i (for C) or .ii (for C++) sufxes in the current
working directory.
If the -Wsql ag is specied, embedded NonStop SQL/MP statements are processed.
If the -Wsqlmx ag is specied, embedded NonStop SQL/MX statements are pro-
cessed.
The -E, -WH, and -WM ags override the -WP ag.
-Wpool_string_literals
Species that, within a compilation unit, multiple occurences of the same string literal
should occupy the same storage space. This ag applies to C++ compilations only; it
is ignored when C++ is not used.
The default assignment for multiple occurrences of a string literal gives them separate
storage space.
214 Hewlett-Packard Company 527188-003