Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (c) c89(1)
-Wnld="args"
Passes the arguments specied in args to the nld utility after any other arguments are
passed. This ag is valid only for TNS/R-targeted compilations.
This ag does not invoke nld. If the nld utility is not invoked, this ag is ignored. Use
this ag to pass arguments to nld when creating a TNS/R native non-PIC program or
user library. c89 does not check the validity of nld arguments.
You cannot use this ag if you use the following ags:
-Wcall_shared or -Wshared
-Wnld_obey="file"
Directs the nld 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 nld in place of le. c89 does not verify the existence or readability
of le.
This ag is valid only for TNS/R-targeted compilations. This
ag does not invoke nld.
If the nld utility is not invoked, this ag is ignored. Use this ag to pass arguments to
nld when creating a TNS/R native non-PIC program or user library.
You cannot use this ag if you use any of the following ags:
-Wcall_shared or -Wshared
-Wnoexceptions
Disables support for exceptions and exception handling. This ag can improve appli-
cation performance by removing unneeded processing steps when an application does
not use exceptions or perform exception handling.
This ag 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
Species that the object le should be linked without a main() function. This ag
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 le has no
_MAIN function and no standard run-time libraries unless those are specied
separately in a le identied by the:
-Weld_obey=le ag or in an obey le used by the eld utility
-Wld_obey=le ag or in an obey le used by the ld utility
-Wnld_obey=le ag or in an obey le used by the nld utility
-Wnostdinc
Suppresses the searching of the standard include directories to locate included les.
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.
527188-007 Hewlett-Packard Company 213