说明:## 技巧
有人问我,如何通过选项来指定动态连接器,而不使用缺省系统自带的动态连接器。我后来查了下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 n <ppcust> 上传 | 大小:1kb
说明:# all warnings being treated as errors
## 技巧
在ubuntu系统下编译一个程序包,有时会遇到这样的错误:
$ make
...
cc1: all warnings being treated as errors <ppcust> 上传 | 大小:631byte