Installing multiple versions of XL C/C++ on the same system (for advanced users)

It is highly recommended that you uninstall any previous versions of XL C/C++ before you install XL C/C++ V8.0. If you use the xlc_install utility to install the new version to the default location (/opt/ibmcmp/), it will remove the old files for you.

The procedures in this chapter are intended for users who are both experienced with compiler installations and familiar with the file structures of all versions of all compiler products installed on the system.

Before you install multiple versions of XL C/C++ on the same system, consider the following options:

If you are phasing a migration to the later version of XL C/C++, you must install each version in a different installation location. You will use the information in Installing XL C/C++ V8.0 to a single non-default location.

If you are maintaining different versions of XL C/C++ for the long term, you should install both versions in the same installation location. Multiple versions of XL C/C++ can co-reside in the same location path as long as the later version does not attempt to use runtime packages that pre-date it. If your existing version is installed in the default location, do not try to use xlc_install to install the additional version; it will remove the old files for you. Instead, use the following procedure: Updating XL SMP and XL C/C++ runtime files and installing XL C/C++ V8.0