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

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-57
LINES
LINES
The LINES pragma specifies the maximum number of output lines per page for the
compiler listing file.
lines_per_page
specifies the maximum number of text lines per page for the listing file.
lines_per_page must be an integer in the range 10 through 32767.
The pragma default settings are:
Usage Guideline
For native C and C++. the LINES pragma must be entered on the compiler RUN
command line. For OSS, the LINES pragma can be specified with the -Wlines flag of
the c89 utility.
LINKFILE
The LINKFILE pragma invokes the appropriate linker and specifies a command file to
be passed to either:
The nld utility when working with conventional code
The eld or ld utility when working with PIC (Position-Independent Code), as when
compiling a dynamic-link library (DLL)
file-name
specifies a valid command file for the eld utility, the ld utility, or the nld utility.
For syntax and semantics of eld command files, see the eld Manual.
For syntax and semantics of ld command files, see the ld Manual.
For syntax and semantics of nld command files, see the nld Manual.
LINES lines_per_page
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler LINES 60 LINES 60
G-series TNS c89 utility LINES 60 LINES 60
TNS/R native C and C++ compilers LINES 60 LINES 60
Native c89 utility LINES 66 LINES 66
TNS/E native C and C++ compilers LINES 60 LINES 60
LINKFILE "file-name"