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

User Commands (c) c89(1)
-Weld="args"
Passes the arguments specied in args to the eld utility after any other arguments are
passed. This ag is valid only for TNS/E-targeted compilations.
Use this ag to pass arguments to eld when creating a PIC le. c89 does not check the
validity of eld arguments.
You can only use this ag when you use one of the following ags:
-Wcall_shared or -Wshared
This ag is ignored when the command does not initiate linking.
-Weld_obey="file"
Directs the eld utility to read additional command-line arguments from the command
le specied in the le argument. The arguments are processed as if they had been
passed directly to eld in place of le. c89 does not verify the existence or readability
of le.
The -Weld_obey ag is valid only for TNS/E-targeted compilations. You can only use
this ag if you use one of the following ags:
-Wcall_shared or -Wshared
This ag is ignored when the command does not initiate linking.
-Wenv=env
Species the run-time environment. env can be one of common, embedded, library,
or libspace. The default value is common.
-Werrors=e
Stops compiling when e errors have been encountered.
-W[no]extensions
Enables [disables] HP extensions. If -Wextensions is specied, c89 also denes the
_TANDEM_SOURCE feature-test macro. The default value is -Wnoextensions.
-Wextern_data={no_gp | gp_ok}
Determines the addressing method for external data references (objects declared
extern). The default value is no_gp. This ag applies to TNS/R-targeted compilations
only.
Setting gp_ok species that external data references use GP-relative addressing.
GP-relative addressing can increase program performance. gp_ok cannot be specied
for native user libraries or when the -Wcall_shared or -Wshared ag is used.
-Wfieldalign=align
Species the eld alignment for structures. align can be one of auto, cshared2,
shared2, shared8,orplatform. The default value is auto. You cannot specify a
struct tag with this ag.
-Wforce_vtbl | -Wsuppress_vtbl
Controls whether virtual function tables are created in cases where the compiler cannot
determine the need for the tables.
The virtual function table for a class is dened in a compilation if the compilation con-
tains a denition of the rst noninline, nonpure virtual function of the class. For
classes that contain no such function, the default behavior is to dene the virtual func-
tion table (but to dene it as a local static entity).
The ag -Wsuppress_vtbl suppresses the denition of the virtual function tables for
such classes, and the ag -Wforce_vtbl forces the denition of the virtual function
527188-004 Hewlett-Packard Company 27