Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (c) c89(1)
-Wallow_cplusplus_comments
Directs the compiler to allow comments that use the C++ comment style in C source
les.
-Wallow_extern_explicit_instantiation
Allows an extern storage attribute to be applied to an explicit template instantiation.
This ag suppresses the instantiation of the template. If this
ag is omitted, the tem-
plate is instantiated.
The -Wallow_extern_explicit_instantiation
ag is valid only for TNS/R-targeted C++
compilations.
-Wansistreams
Generates a Guardian program that opens text les as type 180 instead of type 101 if
-Wsystype=guardian is specied. (By default Guardian programs open text les as
type 101.) This ag is ignored when -Wsystype=oss is used. OSS programs can open
text les only as type 180.
-WBdllsonly
Tells the ld or eld linker to limit searches to position-independent code (PIC) les that
are dynamic-link libraries (DLLs) when resolving the le names specied for the -l
operands and -L ags.
If a le name is qualied, the linker searches for a DLL with that name.
If a lename is unqualied, in each search path, the linker rst searches for a DLL with
the le name as specied in the -l operand or -L ag. If the linker cannot nd a DLL,
the le name is unqualied, and the search path is not in the Guardian le system (/G),
then the linker prexes lib and sufxes .so to the le name and searches again. If the
linker still cannot nd the DLL, it searches the path again with the same prex but with
.srl as the sufx. For more information on search paths, see the Finding Libraries
subsection of the ld(1) or eld(1) reference page under DESCRIPTION.
When a DLL cannot be found, the linker issues an error message unless its
-allow_missing_libs ag is specied.
The -WBdllsonly, -WBdynamic, and -WBstatic ags are search control toggles.
Multiple ags can be specied in a single linker invocation; the behavior specied
remains in effect until another ag in the set is specied. Thus, you can search for both
DLLs and archive les for some -l operands and -L ags and search for just archive
les for others. The default library search control is -WBdynamic.
-WBdynamic
Species that the linker utility uses dynamic linking when searching for libraries
specied in subsequent operands of the form -l library. Dynamic linking is in effect
until a -WBstatic ag is specied. -WBdynamic is the default setting. Refer to the
Dynamic and Static Linking subsection for details.
-WBstatic
Species that the linker utility uses static linking when searching for libraries specied
in subsequent operands of the form -l library. Static linking is in effect until a
-WBdynamic ag is specied. -WBdynamic, not -WBstatic, is the default setting.
Refer to the Dynamic and Static Linking subsection for details.
527188-003 Hewlett-Packard Company 25