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

User Commands (c) c89(1)
-Wr Produces a nonexecutable non-PIC object
le. The object le can be used as input to
the nld linker utility again. If this ag is not specied and the nld linker is invoked, the
object le is executable (it is an SRL or a program).
This ag is only valid for TNS/R-targeted compilations. This
ag should not be used
for PIC les.
-W[no]reexport
Tells the ld or eld linker whether to mark any library specied in a -l operand 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. Provid-
ing either ag overrides the current setting, so that the linker actions can be controlled
on a library-by-library basis.
-Wrefalign=ref
Species 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 le.
This attribute species that the object le runs as a named process. The default attri-
bute setting is RUNNAMED OFF. The RUNNAMED ON attribute is set only if an
executable object le is produced.
-W[no]saveabend
Species that a saveabend (process snapshot) le is [is not] created if the program ter-
minates abnormally. The default setting is -Wnosaveabend. This ag is meaningful
only if an executable object le is produced.
-Wsavetemps
Saves all temporary and intermediate les created by compilation system components.
Use the -Wv ag to display the lenames.
-Wsql[="args" ]
Enables NonStop SQL/MP support when processing C source les. It has no effect on
C++ source les. The C source les are processed by the C SQL processor (sqlcfe).
Arguments specied in args are passed to the processor without being checked for
validity. This ag sets the -Wextensions ag. If this is a TNS/E-targeted compilation,
specifying this ag also implicitly sets -Wtandem_oat.
The -Wsql ag cannot be used when the -WIEEE_oat, -Wmxcmp,or-Wsqlmx ag
is specied.
527188-004 Hewlett-Packard Company 215