JavaShuo
gcc编译 strip使用
时间 2020-07-08
标签
gcc
编译
strip
使用
一、去掉-g,等于程序作了--strip-debug
二、strip程序,等于程序作了--strip-debug和--strip-symbol
因此strip后程序会更小点
但对于静态库.a之类的文件,只能用--strip-debug
静态编译就不能使用 strip 了
debug