HP Pascal/HP-UX Release Notes Version A.10.08

38 Chapter 1
New and Changed Features
Environment Variables Used by HP Pascal/HP-UX
Environment Variables Used by HP
Pascal/HP-UX
HP Pascal/HP-UX Release 10.0 uses the following environment variables
somewhat differently than it previously did:
LPATH MANPATH NLSPATH PATH
HP Pascal/HP-UX Release 10.01 uses a new environment variable to
determine how the runtime library processes floating-point number
string format:
PASRUNOPTS
The following sections describe how HP Pascal/HP-UX uses each
variable. Some of these variables may be set appropriately by the system
login routines.
LPATH
ld uses the LPATH variable to locate directories containing libraries.
When invoked, pc looks to see if LPATH is set. If it is set, ld reads
without modifying LPATH for the list of directories to search. If LPATH is
not set, pc sets it according to the -p compile-line options that were
specified on the command line.
As of Release 10.30, LPATH is set to less directories than previously. If
you use LPATH, you should specify the -v compile-line option to get a list
of the path names to which LPATH is set.
MANPATH
To access the manual entry, include the path name
/opt/pascal/share/man in the value of MANPATH.
NLSPATH
If your application reads or sets NLSPATH, be aware that the message
catalogs for the HP Pascal/HP-UX compiler and tools have moved from
/usr/lib/nls/$LANG to /opt/pascal/lib/nls/msg/$LANG. The
default message catalogs have moved from /usr/lib/nls/C to
/opt/pascal/lib/nls/msg/C.