gcc编译 strip使用时间:2021-06-16 19:28:581、去掉-g,等于程序做了--strip-debug 2、strip程序,等于程序做了--strip-debug和--strip-symbol 所以strip后程序会更小点 但对于静态库.a之类的文件,只能用--strip-debug 静态编译就不能使用 strip 了