Before you can run
XL C/C++ for
Linux,
you must configure (or re-configure) the compiler if any of the following
conditions apply:
- You did not use xlc_install to
install the compiler.
- The compiler is installed to 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/8.0/bin/
directory after installation.
It is recommended that
you use the
new_install utility to configure the compiler,
provided that
all of the following conditions are met:
- Only one version of XL C/C++ for Linux is
installed on your system.
- Only one version of GCC is installed in your system and it can be found
in the PATH environment variable.
- You have root or administrator privileges.
- You want to generate the configuration file in the default directory /etc/opt/ibmcmp/vac/8.0/.
For instructions, see
Running the new_install utility (for advanced users).
You should invoke the vac_configure utility
directly only when any of the following is true:
- You have multiple versions of 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 non-default
location.
- 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.
For instructions, see Running the vac_configure utility directly (for advanced users).