翻译下面的英文 Add a directory to the runtime library search path. This is used when linking an ELF executable with shared objects. All -rpath arguments are concatenated and passed to the runtime linker, which uses them to locate shared objects at runtime. The -rpath option is also used when locating shared objects which are needed by shared objects explicitly included in the link; see the description of the -rpath-link option. If -rpath is not used when linking an ELF executable, the contents of the environment variable "LD_RUN_PATH" will be used if it is defined
时间: 2024-04-02 09:34:11 浏览: 112
ELF_Format.pdf.rar_ELF_Format.pdf_elf_elf文件格式 pdf
将一个目录添加到运行时库搜索路径中。这个选项用于将ELF可执行文件与共享对象链接。所有-rpath参数将会被串联在一起,并传递给运行时链接器,用于在运行时定位共享对象。在链接中,如果共享对象需要其他共享对象的支持,也会使用-rpath选项。如果在链接ELF可执行文件时没有使用-rpath,且环境变量"LD_RUN_PATH"已定义,则会使用该变量的值作为运行时库搜索路径。
阅读全文