【文件属性】:
文件名称:set-dynamic-linker.md
文件大小:1KB
文件格式:MD
更新时间:2020-12-18 14:10:56
dynamic
## 技巧
有人问我,如何通过选项来指定动态连接器,而不使用缺省系统自带的动态连接器。我后来查了下ld的手册,有这么一个选项:
-Ifile
--dynamic-linker=file
Set the name of the dynamic linker. This is only meaningful when generating dynamically linked ELF executables. The default dynamic linker is normally correct; don't use this unless you know wh