Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
c89(1) OSS Shell and Utilities Reference Manual
file.ecpp A C++ language source file containing embedded NonStop SQL/MX information to be
preprocessed, compiled, and optionally linked
file.ecxx A C++ language source file containing embedded NonStop SQL/MX information to be
preprocessed, compiled, and optionally linked
file.i A preprocessed C source file to be compiled and optionally linked
file.ii A preprocessed C++ source file to be compiled and optionally linked
file.m A module definition file (MDF) containing NonStop SQL/MX information for a
corresponding C source file
file.o An object file passed directly to a linker utility
file.so A dynamic-link library (DLL) containing position-independent code (PIC) for use by
the eld, ld,orrld utility
file.sql A C language source file containing embedded NonStop SQL/MX information to be
preprocessed, compiled, and optionally linked
file.srl A shared run-time library passed directly to the nld utility
-l library A file to be searched by a linker utility to resolve current unresolved external refer-
ences; ld or eld searches for files named liblibrary.so and liblibrary.a, nld searches for
files named liblibrary.srl and liblibrary.a
A library is searched when its name is encountered, so the placement of -l is
significant. See the Standard Libraries subsection for more details.
-WBdllsonly
Specifies that the linker utility uses dynamic linking when searching for dynamic-link
libraries specified in subsequent -l operands; placement of this operand is significant
(refer to the Dynamic and Static Linking subsection for details)
-WBdynamic
Specifies that the linker utility uses dynamic linking when searching for libraries
specified in subsequent -l operands; placement of this operand is significant (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 -l operands. Placement of this operand is significant. Refer to the
Dynamic and Static Linking subsection for details.
Input Files
An input file is one of the following:
• A text file containing a C language or C++ language source program
• An object file in the format produced by the command c89 -c
• A library of object files in the format produced by archiving zero or more object files
using the ar command
• A linkfile or loadfile produced by the eld or ld utility
2−22 Hewlett-Packard Company 527188-004