About this task
Users installing XL C/C++ on
an IBM® i V6.1 PASE
system must use the non-default installation method since the AIX® SMIT and installp utilities
are not supported.
If, during installation, the vacppndi script
determines that you are installing the compiler onto a PASE system,
it modifies the name of the XL C/C++ configuration
file and one of its variables, oslevel, to match the version of PASE
you are running. For example, if the compiler has been installed on
a system running IBM i
V6.1 PASE V6.1, vac.cfg.53
is renamed vac.cfg.61
and the value of oslevel is changed from 5.3 to 6.1.
To
install the
XL C/C++ compiler
on i V6.1 PASE, follow these steps:
- Insert the compiler product installation CD into the CD drive.
- Sign on to the system with a user profile that has *ALLOBJ authority.
The compiler product files are owned by this user profile.
- Start an interactive i V6.1 PASE terminal session by entering
this CL command.
call qp2term
- Restore the appropriate compiler installation script by entering
the following command.
cd /
restore -qf /QOPT/CDROM/USR/SYS/INST.IMA/VACPP.NDI ./usr/vacpp/bin/vacppndi
- Run the installation script to install the compiler. The destination
directory for the compiler is specified by the -b option
in the command. The preferred directory names for the compilers are
used in the following command. If you choose a different directory,
the directory is in the /QOpenSys tree to allow
for case-sensitive file names.
/QIBM/ProdData/DeveloperTools/pase/bin/perl /usr/vacpp/bin/vacppndi -i -d \
/QOPT/CDROM/USR/SYS/INST.IMA -b /QOpenSys/xlcpp
After the
XL C/C++ compiler
is installed for use in i V6.1 PASE,
- The XL C/C++ compiler
commands, for example, xlc can
be found in directory /QOpenSys/xlcpp/usr/vacpp/bin/.
- The XL C/C++ compiler
documentation (in PDF) can be found in directory /QOpenSys/xlcpp/usr/vacpp/doc/en_US/pdf.
Note: You can add the directory that contains
the compiler commands to the
$PATH environment
variable. The
$PATH environment variable specifies
the directories to be searched to find a command. For example, if
you have installed XL C/C++ compiler, you can change the
$PATH environment
variable as follows to avoid specifying the command path when you
use the compiler commands:
export $PATH=$PATH:/QOpenSys/xlcpp/usr/vacpp/bin
For
information about installing PTFs for compiler installation updates
on the PASE system, see Installing PTF updates on i V6.1 PASE.
For more information about the PASE system, see i5/OS® PASE in the i Information
Center, or see the PDF version of System i®: Programming IBM PASE for i.