{"id":5419,"date":"2019-11-21T22:27:04","date_gmt":"2019-11-21T14:27:04","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5419"},"modified":"2020-05-05T16:31:50","modified_gmt":"2020-05-05T08:31:50","slug":"protoize","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/protoize","title":{"rendered":"protoize\u547d\u4ee4 – \u6dfb\u52a0\u51fd\u6570\u539f\u578b"},"content":{"rendered":"\n
protoize\u547d\u4ee4\u5c5e\u4e8egcc\u5957\u4ef6\uff0c\u7528\u4e8e\u4e3aC\u8bed\u8a00\u6e90\u4ee3\u7801\u6587\u4ef6\u6dfb\u52a0\u51fd\u6570\u539f\u578b\uff0c\u5c06GNU-C\u4ee3\u7801\u8f6c\u6362\u4e3aANSI-C\u4ee3\u7801\u3002protoize\u547d\u4ee4\u4f9d\u8d56gcc\u547d\u4ee4\u5bf9C\u8bed\u8a00\u6e90\u4ee3\u7801\u8fdb\u884c\u626b\u63cf\uff0c\u5e76\u4e14\u641c\u96c6\u4f7f\u7528\u7684\u51fd\u6570\u4fe1\u606f\u3002<\/p>\n\n\n\n
\u4f7f\u7528protoize\u547d\u4ee4\u8fdb\u884c\u57fa\u672c\u8f6c\u6362\u5305\u62ec\u91cd\u5199\u5927\u591a\u6570\u51fd\u6570\u5b9a\u4e49\u548c\u51fd\u6570\u58f0\u660e\u4ee5\u6307\u5b9a\u53c2\u6570\u7684\u7c7b\u578b\u3002<\/p>\n\n\n\n
protoize\u547d\u4ee4\u53ef\u4ee5\u9009\u62e9\u5728\u6e90\u6587\u4ef6\u7684\u5f00\u5934\u63d2\u5165\u539f\u578b\u58f0\u660e\uff0c\u4ee5\u4f7f\u5b83\u4eec\u53ef\u7528\u4e8e\u51fd\u6570\u5b9a\u4e49\u4e4b\u524d\u7684\u6240\u6709\u8c03\u7528\u3002\u6216\u8005\u4e5f\u53ef\u4ee5\u5728\u8c03\u7528\u672a\u58f0\u660e\u51fd\u6570\u7684\u5757\u4e2d\u63d2\u5165\u5177\u6709\u5757\u8303\u56f4\u7684\u539f\u578b\u58f0\u660e\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f :<\/strong> protoize [\u53c2\u6570] [\u6587\u4ef6]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong> <\/p>\n\n\n\n \u4e3aC\u8bed\u8a00\u6e90\u4ee3\u7801\u6587\u4ef6\u6dfb\u52a0\u51fd\u6570\u539f\u578b\uff1a<\/p>\n\n\n\n \u8bbe\u7f6e\u9700\u8981\u8f6c\u6362\u4ee3\u7801\u7684\u76ee\u5f55\uff1a<\/p>\n\n\n\n \u5b89\u9759\u6a21\u5f0f\u81ea\u52a8\u6dfb\u52a0\u51fd\u6570\u539f\u578b\uff1a<\/p>\n\n\n\n protoize\u547d\u4ee4\u5c5e\u4e8egcc\u5957\u4ef6\uff0c\u7528\u4e8e\u4e3aC\u8bed\u8a00\u6e90\u4ee3\u7801\u6587\u4ef6\u6dfb\u52a0\u51fd\u6570\u539f\u578b\uff0c\u5c06GNU-C\u4ee3\u7801\u8f6c\u6362\u4e3aANSI-C\u4ee3\u7801 […]<\/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\/5419"}],"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=5419"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5419\/revisions"}],"predecessor-version":[{"id":7502,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5419\/revisions\/7502"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-B<\u76ee\u5f55><\/td> \u5728\u6307\u5b9a\u76ee\u5f55\u800c\u4e0d\u662f\u5e38\u7528\u76ee\u5f55\uff08\u901a\u5e38\u4e3a\/ usr \/ local \/ lib\uff09\u4e2d\u67e5\u627e\u6587\u4ef6<\/td><\/tr> -C<\/td> \u91cd\u547d\u540d\u6587\u4ef6\u4ee5.C\u800c\u4e0d\u662f.c\u7ed3\u5c3e<\/td><\/tr> -c<\u7f16\u8bd1\u9009\u9879><\/td> \u8fd0\u884cgcc\u751f\u6210.<\/em>X\u6587\u4ef6\u65f6\uff0c\u4f7f\u7528
COMPILATION-OPTIONS\u4f5c\u4e3a\u9009\u9879<\/td><\/tr>-d<\u76ee\u5f55><\/td> \u8bbe\u7f6e\u9700\u8981\u8f6c\u6362\u4ee3\u7801\u7684\u76ee\u5f55<\/td><\/tr> -G<\/td> \u6dfb\u52a0\u663e\u793a\u7684\u5168\u5c40\u58f0\u660e<\/td><\/tr> -i<\u5b57\u7b26\u4e32><\/td> \u4f7f\u7528\u5b57\u7b26\u4e32\u7f29\u8fdb\u65e7\u5f0f\u53c2\u6570\u58f0\u660e<\/td><\/tr> -k<\/td> \u4fdd\u7559.<\/em>X\u6587\u4ef6<\/td><\/tr> -l<\/td> \u6dfb\u52a0\u663e\u793a\u7684\u672c\u5730\u58f0\u660e<\/td><\/tr> -N<\/td> \u4e0d\u751f\u6210.save\u6587\u4ef6<\/td><\/tr> -n<\/td> \u4e0d\u505a\u4efb\u4f55\u771f\u6b63\u7684\u6539\u53d8<\/td><\/tr> -q<\/td> \u5b89\u9759\u6a21\u5f0f<\/td><\/tr> -x<\/td> \u8f6c\u6362\u4ee3\u7801\u65f6\u6392\u9664\u7684\u6587\u4ef6<\/td><\/tr> -v<\/td> \u6253\u5370\u7248\u672c\u53f7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# protoize test.c<\/pre>\n\n\n\n
[root@linuxcool ~]# protoize -d \/root test.c<\/pre>\n\n\n\n
[root@linuxcool ~]# protoize -q test.c<\/pre>\n","protected":false},"excerpt":{"rendered":"