Use this procedure if you want to install multiple versions of the compiler in the same location, while forcing all versions to use the most recent runtime environment. This option is recommended if you want to continue using the different versions of IBM XL C/C++ for Linux over the long term.
Multiple versions of IBM XL C/C++ for Linux can co-reside in the same location as long as the most recently released version does not attempt to use any previous versions of the runtime packages.
This procedure assumes the following:
| Existing XL C/C++ V10.1 runtime packages | New XL C/C++ V11.1 runtime packages |
|---|---|
| xlsmp.msg.rte-1.8.0-$F | xlsmp.msg.rte-2.1.0.0-$B |
| xlsmp.rte-1.8.0-$F | xlsmp.rte-2.1.0.0-$B |
| xlsmp.lib-1.8.0-$F | xlsmp.lib-2.1.0.0-$B |
| vacpp.rte-10.1.0-$F | vacpp.rte-11.1.0.0-$B |
rpm -e vacpp.rte-10.1.0-0 --nodeps rpm -e xlsmp.lib-1.8.0.0 --nodeps rpm -e xlsmp.rte-1.8.0.0 --nodeps rpm -e xlsmp.msg.rte-1.8.0.0 --nodeps
rpm -ivh *.rpm
sed -e "s/xlsmp\/1\.8/xlsmp\/2\.1/g" < /etc/opt/ibmcmp/vac/10.1/vac.cfg > /etc/opt/ibmcmp/vac/10.1/vac.cfg.new mv /etc/opt/ibmcmp/vac/10.1/vac.cfg.new /etc/opt/ibmcmp/vac/10.1/vac.cfg
installation_path/vacpp/11.1/bin/vac_configure -gcc /usr -gcc64 /usr -ibmcmp installation_path/ /opt/ibmcmp/vac/11.1/etc/vac.base.cfg -o installation_path/vac/11.1/etc/vac.cfg.$OSRelease.gcc$gccVersion.where installation_path is the location in which all IBM XL C/C++ for Linux, V11.1 packages are installed (by default, /opt/ibmcmp/). $OSRelease is the level of the Operating System, and $gccVersion is the GCC version installed on the system. For example vac.cfg.sles11.gcc432, or vac.cfg.rhel5.5.gcc412..