xlf_configure options

The xlf_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram xlf_configure -gccpath-atpath-oname-nosymlink-h-cudapath-binutilspath-use_dt_rpath
Note: You can use the xlf_configure command without any option. However, if you have a complicated installation need, specify the appropriate options that are available in the above syntax.

The suboptions are as follows:

-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.
-at path
Configures the compiler for usage with the Advance Toolchain, and creates compiler invocations for xlf_at. path is the install location of the Advance Toolchain.
If path is not specified,
  1. The /opt/at15.0 path is used if it exists.
  2. The /opt/at14.0 path is used if /opt/at15.0 does not exist but /opt/at14.0 exists.
-o dir_name
Specifies the location of the configuration file and the xlf_at compiler invocation that are to be generated. If this option is not specified, the configuration file and the compiler invocation are written to the installation location of the compiler based on OS distribution and gcc version. For example, /opt/ibm/openxlf/17.1.1/etc/xlf.cfg.ubuntu.22.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:
  • xlf
  • xlf90
  • xlf95
  • xlf2003
  • xlf2008
  • xlf_r
  • xlf90_r
  • xlf95_r
  • xlf2003_r
  • xlf2008_r
-h
Displays the help page for the xlf_configure options.
-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 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.