To use the compiler without typing the complete path, you
can create symbolic links in the /usr/bin/ directory
for the specific invocations that are contained in the installation_path/xlf/15.1.0/bin/ directory.
If you have not already done so when you ran xlf_install,
you can create the symbolic links for the following compiler invocations:
- xlf
- xlf90
- xlf95
- xlf2003
- xlf2008
- xlf_r
- xlf90_r
- xlf95_r
- xlf2003_r
- xlf2008_r
Links to some invocations are not recommended, either because they
delete user-defined or GCC invocations, or because they are not compiler
invocation commands. These include the following commands:
- f77, f90, f95, fort77, f2003, f2008
- cleanpdf, mergepdf, new_install, resetpdf, showpdf, xlf_configure
Enter the following command to create a symbolic link:
ln –s installation_path/xlf/15.1.0/bin/invocation/usr/bin/invocation
where:- installation_path is the location where
you have installed the compiler packages. By default, this is /opt/ibm/.
- invocation is one of the compiler invocations
(such as xlf)
in installation_path/xlf/15.1.0/bin/.