xlc_configure options
The xlc_configure command has the following syntax:
>>-xlc_configure--+----------------+--+-----------+-------------> +- -gcc--path----+ '- -o--name-' '- -at--+------+-' '-path-' >--+-------------+--+-----+--+--------------+-------------------> '- -nosymlink-' '- -h-' '- -cuda--path-' >--+------------------+--+----------------+-------------------->< '- -binutils--path-' '- -use_dt_rpath-'
where:
- -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:
By default, path is /usr.-gcc/usr - -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, the first path found in the following ordered list is used:
- /opt/at11.0
- /opt/at9.0
- /opt/at8.0
- -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/16.1.0/etc/xlc.cfg.ubuntu.16.04.gcc.4.8.5.
- -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
- -h
- Displays the help page for the xlc_configure options.
- -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 - -binutils path
- Specifies the path where the binary utilities (binutils) are installed.
By default, path is /usr/bin.
- -use_dt_rpath
- Determines whether the compiler uses the DT_RPATH or DT_RUNPATH
property to encode shared library load paths into your program:
- When this option is in effect, the compiler uses the DT_RPATH property. As a result, the LD_LIBRARY_PATH environment variable does not have no effect on your program.
- When this option is not in effect, --enable-new-dtags is passed to the linker to set DT_RUNPATH instead of DT_RPATH. The load library path search rules are modified and you can use the LD_LIBRARY_PATH environment variable to override the DT_RUNPATH property.
By default, this option is not enabled.



