C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiling, Binding, and Accelerating TNS C++
Programs
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
15-13
Working in the Guardian Environment
SELECT CHECK PARAMETER OFF
disables checking of parameter number, type, and mode (value or reference) and
of function return type across code blocks. If you do not disable these checks,
Binder might generate several extraneous warning messages.
SET INSPECT ON
specifies that the currently defined symbolic debugging program, rather than the
default debugging program, is chosen for debugging when you run the object file.
ADD * FROM main-object-file
adds the object file of your program's main module. This main module is the one
that contains the definition of the function main().
ADD * FROM object-file
adds the object file of one of your program's other modules. You must repeat this
command for each of your modules.
SELECT SEARCH C++-library-file
directs Binder to search the appropriate C++ run-time library file when resolving
external references.
Specify LIBCA if your program uses the 32-bit data model. For the 32-bit data
model, the size of the type int is 32 bits.
Specify LIBLA if your program uses the 16-bit data model. For the 16-bit data
model, the size of the type int is 16 bits.
SELECT SEARCH data-model-file
directs Binder to search the specified data-model file when resolving external
references.
Use CWIDE for the data-model-file to specify the 32-bit data model.
Use CLARGE for the data-model-file to specify the 16-bit data model.
The data-model-file file name must be fully qualified. CWIDE and CLARGE
are in $SYSTEM.SYSTEM by default.
SET HEAP value PAGES
specifies the heap size of the program.
BUILD program-file
directs Binder to build an executable object file using the files and options specified
in the preceding commands. The program-file is the name of the executable
object file that Binder builds.