Running the new_install utility
You can use the new_install utility to configure the compiler if all of the following conditions are met:
- Only one version of XL C/C++ is installed in your system.
- Only one version of GCC is installed in your system and it can be found
in the PATH environment variable.
- You have write privilege in /etc/ directory.
- You want to generate the default configuration file, /etc/opt/ibmcmp/vac/8.0/vac.cfg.
.
The new_install utility
performs the following tasks:
- Backs up any existing configuration file.
- Queries the RPM database for the paths to the XL C/C++ V8.0 packages and
the path to the 32-bit GCC (gcc32path) and the 64-bit
GCC (gcc64path) in the PATH environment variable,
and then uses the obtained values to execute the vac_configure utility.
- Generates the configuration file in /etc/opt/ibmcmp/vac/8.0/vac.cfg.
You will be required to accept the license
agreement and install the license file before the configuration file is generated.
To run the new_install utility:
- Change to the directory that contains the XL C/C++ V8.0 executables:
cd xlcmp_path/vacpp/8.0/bin/
where xlcmp_path is the installation location of the XL C/C++ compiler packages.
Note:
If XL C/C++ V8.0 is installed in the default location, xlcmp_path is /opt/ibmcmp/.
- Run the following command:
./new_install
The new_install command executes the following command:
installation_path/vac/8.0/bin/vac_configure
-gcc gcc32path
-gcc64 gcc64path
-install
-mass xlmass_path/xlmass/4.3/
-smprt xlsmprt_path/xlsmp/1.6/
-vaclic lic_path/vac/8.0
-vacpprt xlrte_path/vacpp/8.0
-vac xlcmp_path/vac/8.0/
-vacpp xlcmp_path/vacpp/8.0/
xlcmp_path/vac/8.0/etc/vac.base.cfg