Before you can run
IBM® XL C/C++ for Linux®,
V11.1 you
must configure (or re-configure) the compiler if either of the following
conditions apply:
- You did not use xlc_install to
install the compiler.
- The compiler is installed in a non-default location, or compiler
components were relocated after installation.
Two configuration tools are provided with the compiler:
new_install and
vac_configure,
both located in the
installation_path/
vacpp/11.1/bin/ directory
after installation.
Note: installation_path is
the installation location of the compiler packages. If the compiler
is installed in the default location, installation_path is /opt/ibmcmp/.
It is recommended that you use the
new_install utility
to configure the compiler, provided that
all of the following
conditions are met:
You should invoke the vac_configure utility
directly only when at least one of the following is true:
- You have multiple versions of IBM XL C/C++ for Linux installed
on your system.
- You receive an error from the new_install command. (See Troubleshooting the installation and configuration.)
- You want the generated configuration file to be placed
in a location different from installation_path/vac/11.1/etc/
.
- You have multiple versions of GCC
installed on your system and you need to specify which GCC version you would like to reference
in the configuration file.
Note: If you configure the compiler using vac_configure,
your output configuration file, vac.cfg, can be
written to any location where you have write permission. You would
not need root or administrative privileges.