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

Table Of Contents
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
13-65
NLD(arg)
class bad_alloc()
class bad_cast()
class bad_exception()
class bad_typeid()
Storage allocation and exception handling are common ( except for the classes
defined in the stdexcept header ).
Example
See Using the Neutral C++ Dialect on page 5-13.
NLD(arg)
The NLD command-line directive specifies arguments to be passed to the nld utility,
the linker for TNS/R native code that is not PIC (Position-Independent Code).
arg is any argument accepted by the nld utility. Enclose arguments in
parentheses, separated by spaces.
For more details on valid syntax and semantics, see the nld Manual.
The pragma default settings are:
Usage Guidelines
On Guardian environment, the NLD pragma must be entered on the compiler RUN
command line for TNS/R native C and C++. On OSS environment, specify the NLD
pragma by using the
-Wnld=arg option with the c89 utility.
If you are linking TNS/R PIC (Position-Independent Code), you must use the
LD(arg) pragma to specify arguments to the ld utility.
If you are linking TNS/E PIC (Position-Independent Code), you must use the
-Weld=arg command-line flag to specify arguments to the eld utility.
NLD(arg)
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.
TNS/R native C and C++ compilers Not set Not set
Native c89 utility Not set Not set
TNS/E native C and C++ compilers N.A. N.A.