Build dynamic library search paths into the executable file.
ls is a colon–separated list of directories for library search paths. The blank between -R and ls is optional.
Multiple instances of this option are concatenated together, with each list separated by a colon.
The list is used at runtime by the runtime linker, ld.so. At runtime, dynamic libraries in the listed paths are scanned to satisfy any unresolved references.
Building an executable file using -Rpaths adds directory paths to a default path, /opt/SUNWspro/lib, that is always searched last.
For more information, see the “Libraries” chapter in the Fortran Programming Guide, and the Solaris Linker and Libraries Guide.