Linux程序优化策略
时间:2006-03-31 来源:hellin
1. 用gcc 的代码优化参数. gcc -O2 -o hello hello.c
2. 用strip 命令. readelf -S hello , strip hello
3. 用objcopy 命令. objcopy -R .comment -R .note.ABI-tag -R.gnu.version hello hello1
list -l hello1
或者用 Os的优化工具 uclibc
2. 用strip 命令. readelf -S hello , strip hello
3. 用objcopy 命令. objcopy -R .comment -R .note.ABI-tag -R.gnu.version hello hello1
list -l hello1
或者用 Os的优化工具 uclibc
相关阅读 更多 +