| |||
| Home > Linker command-line options > --runpath=pathlist | |||
This option specifies a list of paths to be added to the search paths in the dynamic section. The Linux dynamic linker uses these paths to locate the required Shared Objects.
You can use the GNU ld option --rpath as
an alias for --runpath.
--runpath=pathlist
Where is
a comma-separated list of paths. Do not include spaces between the
comma and the path name when specifying multiple path names, for
example, pathlist.path1,path2,path3,...,pathn
Building Linux Applications with the ARM® Compiler toolchain and GNU Libraries: