Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (c) c89(1)
-Weld="args"
Passes the arguments specified in args to the eld utility after any other arguments are
passed. This flag is valid only for TNS/E-targeted compilations.
Use this flag to pass arguments to eld when creating a PIC file. c89 does not check the
validity of eld arguments.
You can only use this flag when you use one of the following flags:
-Wcall_shared or -Wshared
This flag 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
file specified in the file argument. The arguments are processed as if they had been
passed directly to eld in place of file. c89 does not verify the existence or readability
of file.
The -Weld_obey flag is valid only for TNS/E-targeted compilations. You can only use
this flag if you use one of the following flags:
-Wcall_shared or -Wshared
This flag is ignored when the command does not initiate linking.
-Wenv=env
Specifies 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 specified, c89 also defines 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 flag applies to TNS/R-targeted compilations
only.
Setting gp_ok specifies that external data references use GP-relative addressing.
GP-relative addressing can increase program performance. gp_ok cannot be specified
for native user libraries or when the -Wcall_shared or -Wshared flag is used.
-Wfieldalign=align
Specifies the field 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 flag.
-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 defined in a compilation if the compilation con-
tains a definition of the first noninline, nonpure virtual function of the class. For
classes that contain no such function, the default behavior is to define the virtual func-
tion table (but to define it as a local static entity).
The flag -Wsuppress_vtbl suppresses the definition of the virtual function tables for
such classes, and the flag -Wforce_vtbl forces the definition of the virtual function
527188-003 Hewlett-Packard Company 2−7