Install the AIX compilers

i5/OS™ PASE does not support the AIX® smit or installp utilities typically used to install applications on an AIX system. Installation of the XL C/C++ Enterprise Edition for AIX V7.0 or XL C Enterprise Edition for AIX products is accomplished through a "non-default installation" script included on the respective compiler's installation media.

Start of changeThe following steps will install the XL C/C++ Enterprise Edition for AIX V7.0 or XL C Enterprise Edition for AIX product on iSeries™ i5/OS PASE:End of change
Start of change
  1. Verify you have the necessary prerequisites. In addition to the compiler installation media, you also need the following programmes installed on your iSeries server to successfully install and use the compiler:
    • 5722SS1 Option 33 - i5/OS PASE itself
    • 5722SS1 Option 13 - System Openness Includes, containing the compiler header files found in the /usr/include integrated file system directory
    • Perl. The compiler installation scripts require Perl. Here are two ways to install Perl:
      • 5799PTL - iSeries Tools for Developers PRPQ. Perl (along with many other useful development tools) is included in the separately available iSeries Tools For Developers PRPQ.
      • http://www.cpan.org/ports/#os400 - A Perl Port binary distribution for i5/OS PASE
  2. Insert the compiler product installation CD into the iSeries CDROM device.
  3. Sign on to i5/OS with a user profile that has *ALLOBJ authority. The compiler product files will be owned by this user profile.
  4. Start an interactive i5/OS PASE terminal session by entering this CL command: call qp2term
  5. Restore the appropriate compiler installation script by entering these commands:
    Compiler Command
    For XL C/C++ Enterprise Edition for AIX:
    cd / 
    restore -qf /QOPT/CDROM/USR/SYS/INST.IMA/VACPP.NDI ./usr/vacpp/bin/vacppndi
    For XL C Enterprise Edition for AIX:
    cd / 
    restore -qf /QOPT/CDROM/USR/SYS/INST.IMA/VAC.NDI ./usr/vac/bin/vacndi
    For XL Fortran Enterprise Edition for AIX:
    cd / 
    restore -qf /QOPT/CDROM/USR/SYS/INST.IMA/XLF.NDI ./usr/lpp/xlf/bin/xlfndi
  6. Run the installation script to install the compiler. The destination directory for the compiler is specified by the -b option in the command. The recommended directory names for the compilers are used in the commands in the following table. If you choose a different directory, note that the directory should be in the /QOpenSys tree (to allow for case-sensitive file names):
    Compiler Command
    For XL C/C++ Enterprise Edition for AIX:
    /QIBM/ProdData/DeveloperTools/pase/bin/perl /usr/vacpp/bin/vacppndi -i -d 
    /QOPT/CDROM/USR/SYS/INST.IMA -b /QOpenSys/xlc70
    For XL C Enterprise Edition for AIX:
    /QIBM/ProdData/DeveloperTools/pase/bin/perl /usr/vac/bin/vacndi -i -d 
    /QOPT/CDROM/USR/SYS/INST.IMA -b /QOpenSys/xlc70
    For XL Fortran Enterprise Edition for AIX:
    /QIBM/ProdData/DeveloperTools/pase/bin/perl /usr/lpp/xlf/bin/xlfndi -i -d 
    /QOPT/CDROM/USR/SYS/INST.IMA -b /QOpenSys/xlf91
    Note: Enter the commands as one long command.
End of change
Start of change

The compiler is now installed for use in i5/OS PASE.

The XL C/C++ Enterprise Edition for AIX compiler commands, such as xlC, can be found in directory /QOpenSys/xlc70/usr/vacpp/bin/. You might want to add this directory to your $PATH environment variable.

The XL C/C++ Enterprise Edition for AIX compiler documentation can be found in Adobe Acrobat format in directory /QOpenSys/xlc70/usr/vacpp/pdf/en_US/.

The XL C Enterprise Edition for AIX compiler commands, such as xlc and cc, can be found in directory /QOpenSys/xlc70/usr/vac/bin/. You might want to add this directory to your $PATH environment variable.

The XL C Enterprise Edition for AIX compiler documentation can be found in Adobe Acrobat format in directory /QOpenSys/xlc70/usr/vac/pdf/en_US/.

The XL Fortran for AIX compiler commands, such as xlf, can be found in directory /QOpenSys/xlf91/usr/bin/. You might want to add this directory to your $PATH environment variable.

The XL Fortran for AIX compiler documentation can be found in Adobe Acrobat format in directory /QOpenSys/xlf91/usr/share/man/info/en_US/xlf/pdf/.

End of change