Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

nmcobol(1) OSS Shell and Utilities Reference Manual
-Wmxcmp_querydefault="
attr_name=attr_value[,...]"
Species attribute settings (CONTROL QUERY DEFAULT settings) to pass to
the NonStop SQL/MX compiler. These attribute settings override any
corresponding entries in the SYSTEM_DEFAULTS table.
-Wnld="args" Passes to the nld utility the directives in the argument string enclosed in quotation
marks. If you repeat this ag, arguments are passed to the nld utility in the order
specied.
You cannot use this ag if you use any of the following ags:
-Wcall_shared or -Wshared
-Wnld_obey="pathname"
Passes pathname (a le of nld utility commands) to the nld utility.
You cannot use this ag if you use any of the following ags:
-Wcall_shared or -Wshared
-Woptimize=n Sets the optimization level to n. n is 0, 1, or 2. The NMCOBOL compiler handles
2 as if it were 1. The default is 1.
-W[no]optional_lib
Indicates whether a library specied in the command stream should be considered |
optional when the ld 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.
Providing 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.
-Wr Produces a nonexecutable non-PIC object le. The object le can be used as input
to the nld utility. If this ag is not specied and a linker is invoked, the object le
is executable.
You should not specify this ag for a PIC le.
-W[no]reexport
Tells the ld linker whether to mark any library specied in an -l or -L ag after
this ag for reexport in its libList entry in the loadle being created. Specifying
-Wnoreexport leaves the library unmarked; specifying -Wreexport marks the
library. Reexport is a run-time attribute that is used by the rld loader to decide
what DLLs it needs to load.
-Wnoreexport is the default action.
These ags can be specied as many times as needed in the command stream.
Providing either ag overrides the current setting, so that the linker actions can be
controlled on a library-by-library basis.
660 Hewlett-Packard Company 527188-004