{"id":8454,"date":"2020-07-28T20:12:15","date_gmt":"2020-07-28T12:12:15","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8454"},"modified":"2022-06-17T14:57:13","modified_gmt":"2022-06-17T06:57:13","slug":"strip","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/strip","title":{"rendered":"strip\u547d\u4ee4 – \u4ece\u6587\u4ef6\u4e2d\u53bb\u9664\u6307\u5b9a\u7b26\u53f7\u6216\u8c03\u8bd5\u4fe1\u606f"},"content":{"rendered":"\n

strip\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u4ece\u6587\u4ef6\u4e2d\u53bb\u9664\u6307\u5b9a\u7b26\u53f7\u6216\u8c03\u8bd5\u4fe1\u606f\uff0c\u53ef\u4ee5\u9488\u5bf9\u4e00\u822c\u6587\u4ef6\u4e0e\u51fd\u6570\u5e93\u6587\u4ef6\u8fdb\u884c\u64cd\u4f5c\uff0c\u80fd\u591f\u51cf\u5c11\u6587\u4ef6\u5360\u7528\u7a7a\u95f4\u5927\u5c0f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>strip [\u53c2\u6570] \u6587\u4ef6\u540d<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-e<\/td>\u5728\u5bf9\u8c61\u6587\u4ef6\u7684\u53ef\u9009\u5934\u4e2d\u8bbe\u7f6e F_LOADONLY \u6807\u5fd7<\/td><\/tr>
-E<\/td>\u590d\u4f4d\u5bf9\u8c61\u6587\u4ef6\u7684\u53ef\u9009\u5934\u4e2d\u7684\u00a0F_LOADONLY\u00a0\u4f4d<\/td><\/tr>
-H<\/td>\u53bb\u9664\u5bf9\u8c61\u6587\u4ef6\u5934<\/td><\/tr>
-l<\/td>\u4ece\u5bf9\u8c61\u6587\u4ef6\u91cc\u53bb\u9664\u884c\u53f7\u4fe1\u606f<\/td><\/tr>
-r<\/td>\u9664\u4e86\u5916\u90e8\u7b26\u53f7\u548c\u9759\u6001\u7b26\u53f7\u6761\u76ee\uff0c\u53bb\u9664\u5176\u4f59\u4fe1\u606f<\/td><\/tr>
-t<\/td>\u9664\u4e86\u51fd\u6570\u7b26\u53f7\u548c\u884c\u53f7\uff0c\u53bb\u9664\u5176\u4f59\u4fe1\u606f<\/td><\/tr>
-V<\/td>\u663e\u793a\u547d\u4ee4\u7248\u672c\u7248\u672c<\/td><\/tr>
-x<\/td>\u53bb\u9664\u7b26\u53f7\u8868\u4fe1\u606f\uff0c\u4f46\u5e76\u4e0d\u53bb\u9664\u9759\u6001\u6216\u5916\u90e8\u7b26\u53f7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u53bb\u9664\u6307\u5b9a\u6587\u4ef6\u4e2d\u7684\u7b26\u53f7\u8868\u548c\u884c\u53f7\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# strip linux.out<\/strong><\/pre>\n\n\n\n

\u53bb\u9664\u6307\u5b9a\u6587\u4ef6\u7684\u5bf9\u8c61\u6587\u4ef6\u5934\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# strip -H linux.out<\/strong><\/pre>\n\n\n\n

\u53bb\u9664\u6307\u5b9a\u6587\u4ef6\u4e2d\u768432\u300164\u4f4d\u7b26\u53f7\u8868\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# strip -X 32-64 linux.a<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

strip\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u4ece\u6587\u4ef6\u4e2d\u53bb\u9664\u6307\u5b9a\u7b26\u53f7\u6216\u8c03\u8bd5\u4fe1\u606f\uff0c\u53ef\u4ee5\u9488\u5bf9\u4e00\u822c\u6587\u4ef6\u4e0e\u51fd\u6570\u5e93\u6587\u4ef6\u8fdb\u884c\u64cd\u4f5c\uff0c\u80fd\u591f\u51cf\u5c11\u6587\u4ef6\u5360 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8454"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8454"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8454\/revisions"}],"predecessor-version":[{"id":10306,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8454\/revisions\/10306"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}