Running the vac_configure utility directly

You can use the vac_configure utility to generate the configuration file as long as the compiler has been successfully installed.

The vac_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram                  .-------------------.
                  V                   |
>>-vac_configure----+- -gcc--path---+-+--+-----------+---------->
                    '- -gcc64--path-'    +- -o--name-+
                                         '- -install-'

>--+---------+--+------------------------------------------+---->
   '- -force-'  | .--------------------------------------. |
                | V                                      | |
                +---+- -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----'   |
                '- -ibmcmp--installation_path--------------'

>--+--------------------------+--------------------------------><
   '-template_config_filename-'

where:

-gcc path
Specifies the path where the GCC bin/ directory is installed. In the configuration file, the gcc_path attribute is set equal to this path.

For example, if the GCC command is /usr/bin/gcc, you would specify

  -gcc /usr
-gcc64 path
Specifies the path where the 64-bit GCC bin/ directory is installed. In the configuration file, the gcc_path_64 attribute is set equal to this path. For example, if the 64-bit GCC command is /usr/bin/gcc -m64, you would specify
 -gcc64 /usr
-o name
Specifies the name of the configuration file to generate. By default, output is written to the display.
-install
Generates a default configuration file /etc/opt/ibmcmp/vac/8.0/vac.cfg.
-force
Forces the vac_configure utility to overwrite any existing output file with the specified name and path. By default, if you do not use force, vac_configure issues an error message and stops if the specified file already exists.
-mass xlmass_path/xlmass/4.3/
Specifies the path for the xlmass.lib file. By default the path is /opt/ibmcmp/xlmass/4.3/.
-smprt xlsmprt_path/xlsmp/1.6/
Specifies the path for the xlsmp.msg.rte, xlsmp.rte, and xlsmp.lib files. By default the path is /opt/ibmcmp/xlsmp/1.6/.
-vaclic lic_path/vac/8.0
Specifies the path for the vac.lic file. By default, this is /opt/ibmcmp/vac/8.0/.
-vacpprt xlrte_path/vacpp/8.0
Specifies the path for the vacpp.rte and vacpp.rte.lnk files. By default, this is /opt/ibmcmp/vacpp/8.0/.
-vac xlcmp_path/vac/8.0
Specifies the path for the vac.cmp and vac.lib files. By default, this is /opt/ibmcmp/vac/8.0/.
-vacpp xlcmp_path/vacpp/8.0
Specifies the path for the vacpp.cmp and vacpp.lib files. By default, this is /opt/ibmcmp/vacpp/8.0/.
-ibmcmp installation_path
Alternatively specifies the path where all of the XL C/C++ packages are to be installed. For a list of these packages, see Table 3.
Note:
If you want to install packages in different subdirectories, do not install any packages in the /opt/ibmcmp/ directory.
template_config_filename
The input file that is used to construct the configuration file. By default, this is /opt/ibmcmp/vac/8.0/etc/vac.base.cfg. If you relocated the vac.cmp package to xlcmp_path but want to use the default template, specify:
 xlcmp_path/vac/8.0/etc/vac.base.cfg.