Man pages are provided for the compiler invocation commands and other utilities
that are supplied with the compiler.
The
XL C/C++ V8.0 man
pages support the following locales:
- en_US
- en_US.utf8
- ja_JP
- ja_JP.eucjp
However, before you can read the compiler-supplied man pages, you must
add the full directory path to the MANPATH environment variable. The command
depends on the Linux shell you are using.
To set the MANPATH environment variable using the Bourne, Korn, or
BASH shell, use the following command:
export MANPATH=installation_path/vacpp/8.0/man:$MANPATH
To
set the MANPATH environment variable using the C shell, use the following
command:
setenv MANPATH installation_path/vacpp/8.0/man:$MANPATH
where
installation_path is
the location where you have installed the
XL C/C++ packages
(by default, this is
/opt/ibmcmp/).
Note: To set this variable in the Bourne, Korn,
or BASH shell so that it applies to all users, add the commands to the file /etc/profile.
To set it for a specific user only, add the commands to the file .profile in
the user's home directory. In the C shell, add the commands to the file /etc/csh.cshrc.
To set it for a specific user only, add the commands to the file .cshrc in
the user's home directory. The environment variable is set each time the user
logs in.