HP aC++/HP C A.06.25 Programmer's Guide
-Bdefault:filename
The file indicated by filename contains a list of symbols, separated by spaces or
newlines. These symbols are assigned the default export class.
-Bextern
-Bextern
The specified symbols, or all undefined symbols if no list is provided, are assigned to
default export class. Additionally, the compiler will inline the import stub for calls to
these symbols. No compile time binding of these symbols will be done. All references
to these symbols will be through the linkage table, so an unnecessary performance
penalty will occur if -Bextern is applied to a listed symbol that is resolved in the
same load module.
Usage:
-Bextern=symbol[,symbol...]
The named symbols, or all symbols if no list is provided, are assigned the default export
class. Use of list form overrides the default binding of locally defined symbols.
-Bextern:filename
The file indicated by filename is expected to contain a list of symbols, separated by
spaces or newlines. These symbols are assigned the default export class.
-Bhidden
-Bhidden
The specified symbols, or all symbols if no symbols are specified, are assigned the
hidden export class. The hidden export class is similar to the protected export class. In
addition, hidden symbols will not be exported outside the current load module. The
linker may eliminate them from a shared library, but in an executable, they remain
accessible to the debugger unless +Oprocelim is also specified.
When used with no symbol list, -Bhidden implies -Wl,-aarchive_shared, causing
the linker to prefer an archive library over a shared library if one is available. This can
be overridden by following the -Bhidden option with a subsequent -Wl,-a option.
Usage:
-Bhidden=symbol[,symbol...]
The named symbols, or all symbols if no symbols are specified, are assigned the hidden
export class.
-Bhidden:filename
The file indicated by filename is expected to contain a list of symbols separated by
spaces or newlines. These symbols are assigned the hidden export class.
118 Command-Line Options