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[,...]"
Specifies 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 flag, arguments are passed to the nld utility in the order
specified.
You cannot use this flag if you use any of the following flags:
-Wcall_shared or -Wshared
-Wnld_obey="pathname"
Passes pathname (a file of nld utility commands) to the nld utility.
You cannot use this flag if you use any of the following flags:
-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 specified in the command stream should be considered |
optional when the ld linker creates a loadfile. |
When -Wnooptional_lib behavior is in effect, any library specified in a -l or -lib |
flag is included in the .liblist section of the loadfile being created. When |
-Woptional_lib behavior is in effect, a specified library can be omitted from the |
.liblist section of the loadfile being created if omitting it would not affect how |
symbolic references are resolved.
These flags can be specified as many times as needed in the command stream.
Providing either flag overrides the current setting, so that the linker actions can be
controlled on a library-by-library basis.
If a library is specified more than once, and at least one specification occurs when
-Wnooptional_lib is in effect, the library is included in the .liblist section of the
loadfile being created.
The default behavior is -Wnooptional_lib.
-Wr Produces a nonexecutable non-PIC object file. The object file can be used as input
to the nld utility. If this flag is not specified and a linker is invoked, the object file
is executable.
You should not specify this flag for a PIC file.
-W[no]reexport
Tells the ld linker whether to mark any library specified in an -l or -L flag after
this flag for reexport in its libList entry in the loadfile 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 flags can be specified as many times as needed in the command stream.
Providing either flag overrides the current setting, so that the linker actions can be
controlled on a library-by-library basis.
6−60 Hewlett-Packard Company 527188-004