xlc_configure options

The xlc_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram
>>-xlc_configure--+----------------+--+-----------+------------->
                  +- -gcc--path----+  '- -o--name-'   
                  '- -at--+------+-'                  
                          '-path-'                    

>--+-------------+--+-----+--+--------------+------------------><
   '- -nosymlink-'  '- -h-'  '- -cuda--path-'   

where:

-at path
Configures the compiler for usage with the Advance Toolchain, and creates compiler invocations for xl*_at. path is the install location of the Advance Toolchain.
If path is not specified:
  1. The /opt/at9.0 path is used if it exists.
  2. The /opt/at8.0 path is used if /opt/at9.0 does not exist but /opt/at8.0 exists.
-cuda path
Specifies the path to the CUDA Toolkit. By default, path is /usr/local/cuda if it exists.
To disable the automatic detection of the CUDA Toolkit, specify the following argument:
-cuda null
-gcc path
Specifies the path where the GCC bin/ directory is installed. For example, if the GCC command is /usr/bin/gcc, you can specify:
  -gcc/usr
By default, path is /usr.
-h
Displays the help page for the xlc_configure options.
-nosymlink
Specifies not to create symbolic links in /usr/bin. If this option is not specified, the following symbolic links are created in /usr/bin:
  • xlc
  • xlc++
  • xlC
  • xlc_r
  • xlc++_r
  • xlC_r
-o file_name
Specifies the name of the configuration file to be generated. If this option is not specified, the configuration file is written to the installation location of the compiler based on OS distribution and gcc version. For example, /opt/ibm/xlC/13.1.5/etc/xlc.cfg.ubuntu.14.04.gcc.4.8.2.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us