C/C++ Programmer's Guide (G06.25+)

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-58
LIST
The pragma default settings are:
Usage Guidelines
On Guardian, the LINKFILE pragma must be entered on the compiler RUN
command line for native C and C++.
LINKFILE invokes eld or ld rather than nld if you include SHARED or
CALL_SHARED.
Use the LINKFILE pragma to specify in a text file the names of the object files or
linkfiles (not source files) that make up a program for linking with a linker utility.
An example of LINKFILE appears in Examples on page 16-12.
The C or C++ run-time libraries are linked to the program only if the RUNNABLE
pragma is also specified on Guardian. On OSS, you must specifically invoke the
linker.
The compiler driver does not verify the existence or the readability of the command
file specified in the LINKFILE directive.
LIST
The LIST pragmas control the generation of compiler-listing text. The LIST pragma
enables the generation of compiler-listing text, and the NOLIST pragma disables it.
The pragma default settings are:
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 applicable Not applicable
TNS/E native C and C++ compilers Not set Not set
[NO]LIST
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler LIST LIST
G-series TNS c89 utility LIST LIST
TNS/R native C and C++ compilers LIST LIST
Native c89 utility LIST LIST
TNS/E native C and C++ compilers LIST LIST