Installing XL C/C++ to a non-default location (for advanced users)

This section provides procedures for two possible installation scenarios:
  • You can install all compiler packages to a single non-default location. For example, rather than installing all packages into the default directory /opt/ibmcmp/, you could install them to a directory of your choice, such as /home/mydirectory/. The procedure for doing so is provided in Installing all packages to a single non-default location.
  • For highly specialized situations only, you can install groups of compiler packages to multiple, different locations. For example, you could install all the compiler library packages to one directory, the runtime environment packages to another directory, and so on. Note, however, that certain packages must be installed together in the same directory; rules for installing packages into multiple non-default directories, as well as procedures for doing so, are provided in Installing packages to multiple, non-default locations.

Note that in both of these scenarios, it is highly recommended that you uninstall any previous versions of the compiler from your system before installing any new versions; for uninstallation procedures, see Uninstalling XL C/C++.