To use the compiler without typing the complete path, you can create symbolic
links in the /usr/bin/ directory for the specific invocations contained in
the installation_path/xlf/10.1/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
- xlf_r
- xlf90
- xlf90_r
- xlf95
- xlf95_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
- cleanpdf, mergepdf, new_install, resetpdf, showpdf, xlf_configure
Use the following command to create a symbolic link:
ln –s installation_path/xlf/10.1/bin/invocation /usr/bin/invocation
where:
- installation_path is the location where you
have installed the compiler packages (by default, this is /opt/ibmcmp/).
- invocation is one of the compiler invocations
(such as xlf)
in installation_path/xlf/10.1/bin/.