Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (m - o) nmcobol(1)
-Wdryrun Verifies the syntax and semantics of the flags and operands that were specified and
enables the -Wv flag. No compilation system components are run.
-Werrors=n Stops compiling when n errors have been encountered.
-Wheap=n[b | w | p ]
Specifies the value that the linker should use for the HEAP_MAX attribute of the
output file. n can be any positive value that gives a size valid for the NonStop
server node on which the file is used. The size can be specified in units of:
b Bytes; this is the default unit
w Words
p Pages
-Whelp | -Wusage
Displays information on how to run the nmcobol utility. No compilation system
components are run.
-Whighpin={on | off }
Directs the linker to set the HIGHPIN attribute to on or off in the output object
files. This attribute specifies whether the object file will run at a high PIN or a low
PIN.
If the program is compiled for execution in the Guardian environment, the default
setting is -Whighpin=off. If the program is compiled for execution in the OSS
environment, the default setting is -Whighpin=on. This flag is set only if an exe-
cutable object file is produced.
-Whighrequesters={on | off }
Directs the linker to set the HIGHREQUESTERS attribute to on or off in the out-
put object file. This attribute specifies whether the object file supports requests
from requesters running at a high PIN.
The object file must contain a C or C++ main() function. If the C or C++ module
was compiled with the c89 -Wsystype=guardian flag set, the default setting is
-Whighrequesters=off. If the C or C++ module was compiled with the c89
-Wsystype=oss flag set, the default setting is -Whighrequesters=on. This flag is
set only if an executable object file is produced.
-W[no]include_whole
Tells the ld linker whether to include in the loadfile all linkable archive members
of all archive libraries encountered after this flag is specified.
Specifying -Winclude_whole begins this linking action. When
-Wnoinclude_whole behavior is in effect, archive searches are controlled by the
existence of undefined symbols. Archives are searched in the order specified on
the command line. Symbols are marked as undefined by compilers or by the user
through the -Wu flag or the ld linker -u flag. When an archive member is found
that resolves an undefined symbol, the member´s symbols are merged into the
external symbol table for the loadfile being created. After the merge, the
undefined symbol that triggered the merge is resolved (marked as defined). The
same merge might resolve other undefined symbols or result in more undefined
symbols.
You can stop the linking action of -Winclude_whole by specifying the
-Wnoinclude_whole flag later in the command line or an obey file.
527188-003 Hewlett-Packard Company 6−57