{"id":42958,"date":"2024-01-12T15:43:35","date_gmt":"2024-01-12T07:43:35","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=42958"},"modified":"2024-01-12T15:43:35","modified_gmt":"2024-01-12T07:43:35","slug":"vi%e7%94%9f%e6%88%90exe%e6%93%8d%e4%bd%9c%e6%ad%a5%e9%aa%a4%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/42958\/","title":{"rendered":"vi\u751f\u6210exe\u64cd\u4f5c\u6b65\u9aa4\u4ecb\u7ecd"},"content":{"rendered":"<p>VI\u662f\u4e00\u79cd\u6587\u672c<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e7%bc%96%e8%be%91%e5%99%a8\/\" title=\"\u7f16\u8f91\u5668\" target=\"_blank\">\u7f16\u8f91\u5668<\/a><\/span>\uff0c\u7528\u4e8e\u5728<a href=\"https:\/\/exe.yimenapp.com\/tool-2591.html\">flash\u8f6c\u6362exe<\/a>Unix\/Linux\u7cfb\u7edf\u4e0a\u7f16\u8f91\u6587\u672c\u6587\u4ef6\u3002VI\u7f16\u8f91\u5668\u662f\u7531Bill Joy\u4e8e1976\u5e74\u521b\u5efa\u7684\uff0c\u662fUnix\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u6700\u5e38\u7528\u7684\u7f16\u8f91\u5668\u4e4b\u4e00\u3002VI\u7f16\u8f91\u5668\u6709\u8bb8\u591a\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u5176\u4e2d\u4e00\u4e2a\u662f\u5b83\u53ef\u4ee5\u751f\u6210<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e5%8f%af%e6%89%a7%e8%a1%8c%e6%96%87%e4%bb%b6\/\" title=\"\u53ef\u6267\u884c\u6587\u4ef6\" target=\"_blank\">\u53ef\u6267\u884c\u6587\u4ef6<\/a><\/span>\uff08<a href=\"https:\/\/exe.yimenapp.com\/tool-2927.html\">\u5185\u5d4c\u7f51\u9875\u6253\u5305exe<\/a><span class=\"wpcom_keyword_link\"><a href=\"https:\/\/exe.yimenapp.com\" title=\"exe\u5f00\u53d1\u4ece\u4e00\u95e8\u5f00\u59cb\">exe<\/a><\/span>\uff09\u3002<\/p>\n<p>VI\u7f16\u8f91\u5668\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u539f\u7406\u662f\u901a\u8fc7\u5c06\u6587\u672c\u6587\u4ef6\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u4e00\u4e9b\u5fc5\u8981\u7684\u5934\u6587\u4ef6\u548c\u94fe\u63a5\u5e93\u3002\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u53ef\u4ee5\u5728Unix\/Linux\u7cfb\u7edf\u4e0a\u76f4\u63a5\u8fd0\u884c\uff0c\u800c\u4e0d\u9700\u8981\u4f9d\u8d56\u4e8e\u4efb\u4f55\u5176\u4ed6\u7a0b\u5e8f\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u6b65\u9aa4\uff1a<\/p>\n<p>1. \u7f16\u5199<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e6%ba%90%e4%bb%a3%e7%a0%81\/\" title=\"\u6e90\u4ee3\u7801\" target=\"_blank\">\u6e90\u4ee3\u7801<\/a><\/span>\u6587\u4ef6<\/p>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u7f16\u5199\u4e00\u4e2a\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u5c06\u5305\u542b\u60a8\u8981\u7f16\u5199\u7684\u7a0b\u5e8f\u7684\u6240\u6709\u4ee3\u7801\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528VI\u7f16\u8f91\u5668\u6216\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\u6765\u7f16\u5199\u4ee3\u7801\u6587\u4ef6\u3002\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528C\u6216C++\u7f16\u7a0b\u8bed\u8a00\uff0c\u6216\u8005\u4f7f\u7528\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f8b\u5982Python\u6216Java\u3002<\/p>\n<p>2. \u7f16\u8bd1\u6e90\u4ee3\u7801\u6587\u4ef6<\/p>\n<p>\u4e00\u65e6\u60a8\u7f16\u5199\u4e86\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u60a8\u9700\u8981\u5c06\u5176\u7f16\u8bd1\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u7f16\u8bd1\u5668\u5c06\u6e90\u4ee3\u7801\u6587\u4ef6\u8f6c\u6362\u4e3a\u673a\u5668\u4ee3\u7801\uff0c\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u3002\u5728Unix\/Linux\u7cfb\u7edf\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528GCC\u7f16\u8bd1\u5668\u6765\u7f16\u8bd1C\u6216C++\u7a0b\u5e8f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6e90\u4ee3\u7801\u6587\u4ef6\u7f16\u8bd1\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<p>gcc -o program_name source_code_file.c<\/p>\n<p>\u5176\u4e2d\uff0cprogram_name\u662f\u60a8\u8981\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u540d\u79f0\uff0csource_code_file.c\u662f\u60a8\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<p>3. \u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n<p>\u4e00\u65e6\u60a8\u6210\u529f\u751f\u6210\u4e86\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u60a8\u5c31\u53ef\u4ee5\u5728Unix\/Linux\u7cfb\u7edf\u4e0a\u8fd0\u884c\u5b83\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<p>.\/program_name<\/p>\n<p>\u5176\u4e2d\uff0cprogram_name\u662f\u60a8<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/29\/12\/14941829476.jpg\" \/><\/figure><\/p>\n<p>\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u540d\u79f0\u3002<\/p>\n<p>\u603b\u7ed3\uff1a<\/p>\n<p>VI\u7f16\u8f91\u5668\u53ef\u4ee5\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u539f\u7406\u662f\u901a\u8fc7\u5c06\u6587\u672c\u6587\u4ef6\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u4e00\u4e9b\u5fc5\u8981\u7684\u5934\u6587\u4ef6\u548c\u94fe\u63a5\u5e93\u3002\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u53ef\u4ee5\u5728Unix\/Linux\u7cfb\u7edf\u4e0a\u76f4\u63a5\u8fd0\u884c\uff0c\u800c\u4e0d\u9700\u8981\u4f9d\u8d56\u4e8e\u4efb\u4f55\u5176\u4ed6\u7a0b\u5e8f\u3002\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u7684\u6b65\u9aa4\u5305\u62ec\u7f16\u5199\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u7f16\u8bd1\u6e90\u4ee3\u7801\u6587\u4ef6\u548c\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VI\u662f\u4e00\u79cd\u6587\u672c\u7f16\u8f91\u5668\uff0c\u7528\u4e8e\u5728Unix\/Linux\u7cfb\u7edf\u4e0a\u7f16\u8f91\u6587\u672c\u6587\u4ef6\u3002VI\u7f16\u8f91\u5668\u662f\u7531Bill Joy\u4e8e1976\u5e74\u521b\u5efa\u7684\uff0c\u662fUnix\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u6700\u5e38\u7528\u7684\u7f16\u8f91\u5668\u4e4b\u4e00\u3002VI\u7f16\u8f91\u5668\u6709\u8bb8\u591a\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u5176\u4e2d\u4e00\u4e2a\u662f\u5b83<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[14991,8878,9455,6509,20694],"special":[],"attr":[],"class_list":["post-42958","post","type-post","status-publish","format-standard","hentry","category-zixun","tag-exezip","tag-8878","tag-9455","tag-6509","tag-20694","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/42958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=42958"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/42958\/revisions"}],"predecessor-version":[{"id":43009,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/42958\/revisions\/43009"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=42958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=42958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=42958"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=42958"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=42958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}