Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (c) c89(1)
-Wr Produces a nonexecutable non-PIC object
file. The object file can be used as input to
the nld linker utility again. If this flag is not specified and the nld linker is invoked, the
object file is executable (it is an SRL or a program).
This flag is only valid for TNS/R-targeted compilations. This
flag should not be used
for PIC files.
-W[no]reexport
Tells the ld or eld linker whether to mark any library specified in a -l operand 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. Provid-
ing either flag overrides the current setting, so that the linker actions can be controlled
on a library-by-library basis.
-Wrefalign=ref
Specifies the global reference alignment for pointers. ref can be either 2 or 8. The
default value is 8.
-W[no]remarks
Enables [disables] compiler remark messages. Remark messages are informative diag-
nostics that are less severe than warnings and errors. The default setting is -Wnore-
marks.
-Wrunnamed
Directs the linker utility to set the RUNNAMED ON attribute in the output object file.
This attribute specifies that the object file runs as a named process. The default attri-
bute setting is RUNNAMED OFF. The RUNNAMED ON attribute is set only if an
executable object file is produced.
-W[no]saveabend
Specifies that a saveabend (process snapshot) file is [is not] created if the program ter-
minates abnormally. The default setting is -Wnosaveabend. This flag is meaningful
only if an executable object file is produced.
-Wsavetemps
Saves all temporary and intermediate files created by compilation system components.
Use the -Wv flag to display the filenames.
-Wsql[="args" ]
Enables NonStop SQL/MP support when processing C source files. It has no effect on
C++ source files. The C source files are processed by the C SQL processor (sqlcfe).
Arguments specified in args are passed to the processor without being checked for
validity. This flag sets the -Wextensions flag. If this is a TNS/E-targeted compilation,
specifying this flag also implicitly sets -Wtandem_float.
The -Wsql flag cannot be used when the -WIEEE_float, -Wmxcmp,or-Wsqlmx flag
is specified.
527188-003 Hewlett-Packard Company 2−15