Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
c89(1) OSS Shell and Utilities Reference Manual
.srl as the suffix. 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 flag is specified.
The -WBdllsonly, -WBdynamic, and -WBstatic flags are search control toggles.
Multiple flags can be specified in a single linker invocation; the behavior specified
remains in effect until another flag in the set is specified. Thus, you can search for both
DLLs and archive files for some -l operands and -L flags and search for just archive
files for others. The default library search control is -WBdynamic.
-WBdynamic
Specifies that the linker utility uses dynamic linking when searching for libraries
specified in subsequent operands of the form -l library. Dynamic linking is in effect
until a -WBstatic flag is specified. -WBdynamic is the default setting. Refer to the
Dynamic and Static Linking subsection for details.
-WBstatic
Specifies that the linker utility uses static linking when searching for libraries specified
in subsequent operands of the form -l library. Static linking is in effect until a
-WBdynamic flag is specified. -WBdynamic, not -WBstatic, is the default setting.
Refer to the Dynamic and Static Linking subsection for details.
-Wbitfield_container=value
Directs the compiler to accept larger and more flexible bit fields where value is one of
the following:
int Directs the compiler to pack bit fields into 32-bit ints. In this mode,
the compiler will not accept bit fields larger than 32 bits. The compiler
returns an error for any bit field declared to be of type long long
(unless the -Wextensions flag is also specified). The compiler returns
warnings for other non-standard integer types.
long Directs the compiler to pack bit fields whose base type is larger than
32-bits into 64-bit ints. All other bit fields will be packed into 32-bit
ints. In this mode, the compiler accepts the long long and long bit-
field types and up to 64 bits in length. The compiler returns warnings
for other non-standard integer types.
all Directs the compiler to pack all bit fields into ints defined by their base
type. The compiler will accept any integer type for a bit field. This
mode provides additional compatibility with the various methods other
compilers may use to pack bit fields.
The default value is int except when the -Wlp64 flag is specified, in which case the
default becomes long.
Note: The
above rules apply to bit fields declared in auto or platform (the
default) structs. Any bit field declared in a shared2 struct will continue
to follow shared2 rules. Bit fields in shared2 structs can never be larger
than 32-bits. Bit fields declared in shared8 structs can be larger than
32-bits (if the value is long or long), but the compiler will emit a warn-
ing. Bit fields in shared8 structs will be packed as before except that bit
fields larger than 32-bits will be packed into 64-bit containers.
This flag is supported on systems running J06.13 or later J-series RVUs
or H06.24 or later H-series RVUs only.
2−6 Hewlett-Packard Company 527188-021