Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (c) c89(1)
You cannot use this flag if you use the following flags:
-Wcall_shared or -Wshared
-Wnld_obey="file"
Directs the nld 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 nld in place of file. c89 does not verify the existence or readability
of file.
This flag is valid only for TNS/R-targeted compilations. This
flag does not invoke nld.
If the nld utility is not invoked, this flag is ignored. Use this flag to pass arguments to
nld when creating a TNS/R native non-PIC program or user library.
You cannot use this flag if you use any of the following flags:
-Wcall_shared or -Wshared
-Wnoexceptions
Disables support for exceptions and exception handling. This flag can improve appli-
cation performance by removing unneeded processing steps when an application does
not use exceptions or perform exception handling.
This flag affects only C++ programs compiled with the version 2 dialect of C++; it is
ignored for C programs and C++ programs compiled using the version 1 or version 3
dialect.
-Wnomain
Specifies that the object file should be linked without a main() function. This flag
prevents the compiler from specifying to the linker those modules and libraries that
provide customary run-time support for C or C++ programs. The resulting file has no
_MAIN function and no standard run-time libraries unless those are specified
separately in a file identified by the:
• -Weld_obey=file flag or in an obey file used by the eld utility
• -Wld_obey=file flag or in an obey file used by the ld utility
• -Wnld_obey=file flag or in an obey file used by the nld utility
-Wnostdinc
Suppresses the searching of the standard include directories to locate included files.
Refer to the Standard Include Directories subsection for details.
-Wnostdlib
Suppresses the searching of the standard library directories to locate libraries. Refer to
the Standard Library Directories subsection for details.
-WOlimit=value
Specifies the maximum decimal number of basic blocks of a routine that the global
optimizer will optimize. When a routine has more basic blocks than this number, it is
not optimized and a warning message is printed.
When the -WOlimit flag is specified, either the -O or -Woptimize=2 flags must also be
specified.
When the -WOlimit flag is not specified, an optimized routine can contain at most
2500 basic blocks. When a routine has more basic blocks than this number, it is not
optimized but a warning message is not printed.
The -WOlimit flag is only valid for TNS/R-targeted compilations.
527188-004 Hewlett-Packard Company 2−13