{"id":40,"date":"2021-12-11T20:18:45","date_gmt":"2021-12-11T12:18:45","guid":{"rendered":"http:\/\/139.9.1.231\/?p=40"},"modified":"2021-12-11T20:18:45","modified_gmt":"2021-12-11T12:18:45","slug":"gcc","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2021\/12\/11\/gcc\/","title":{"rendered":"Linux\u7f16\u8bd1\u5de5\u5177\uff1agcc\u5165\u95e8"},"content":{"rendered":"\n<p><strong>\u51e1\u6709\u6210\u8005\uff0c\u5fc5\u52a1\u4e8e\u5b9e\u3002\u51e1\u6709\u6240\u5b66\uff0c\u7686\u6210\u6027\u683c\u3002<\/strong><\/p>\n\n\n\n<h2>1 \u4ec0\u4e48\u662fgcc<\/h2>\n\n\n\n<p>gcc\u7684\u5168\u79f0\u662f<strong>GNU Compiler Collection<\/strong>\uff0c\u5b83\u662f\u4e00\u4e2a\u80fd\u591f\u7f16\u8bd1\u591a\u79cd\u8bed\u8a00\u7684\u7f16\u8bd1\u5668\u3002\u6700\u5f00\u59cbgcc\u662f\u4f5c\u4e3aC\u8bed\u8a00\u7684\u7f16\u8bd1\u5668\uff08GNU C Compiler\uff09\uff0c\u73b0\u5728\u9664\u4e86c\u8bed\u8a00\uff0c\u8fd8\u652f\u6301C++\u3001java\u3001Pascal\u7b49\u8bed\u8a00\u3002gcc\u652f\u6301\u591a\u79cd\u786c\u4ef6\u5e73\u53f0.<\/p>\n\n\n\n<h3>2. gcc\u7684\u7279\u70b9<\/h3>\n\n\n\n<ol><li>gcc\u662f\u4e00\u4e2a\u53ef\u79fb\u690d\u7684\u7f16\u8bd1\u5668\uff0c\u652f\u6301\u591a\u79cd\u786c\u4ef6\u5e73\u53f0\u3002\u4f8b\u5982ARM\u3001X86\u7b49\u7b49\u3002<\/li><li>gcc\u4e0d\u4ec5\u662f\u4e2a\u672c\u5730\u7f16\u8bd1\u5668\uff0c\u5b83\u8fd8\u80fd\u8de8\u5e73\u53f0\u4ea4\u53c9\u7f16\u8bd1\u3002\u6240\u8c13\u7684\u672c\u5730\u7f16\u8bd1\u5668\uff0c\u662f\u6307\u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u53ea\u80fd\u591f\u5728\u672c\u5730\u73af\u5883\u8fdb\u884c\u8fd0\u884c\u3002\u800cgcc\u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u80fd\u591f\u5728\u5176\u4ed6\u5e73\u53f0\u8fdb\u884c\u8fd0\u884c\u3002\u4f8b\u5982\u5d4c\u5165\u5f0f\u7a0b\u5e8f\u53ef\u5728x86\u4e0a\u7f16\u8bd1\uff0c\u7136\u540e\u5728arm\u4e0a\u8fd0\u884c\u3002<\/li><li>gcc\u6709\u591a\u79cd\u8bed\u8a00\u524d\u7aef\uff0c\u7528\u4e8e\u89e3\u6790\u4e0d\u540c\u7684\u8bed\u8a00\u3002<\/li><li>gcc\u662f\u6309\u6a21\u5757\u5316\u8bbe\u8ba1\u7684\uff0c\u53ef\u4ee5\u52a0\u5165\u65b0\u8bed\u8a00\u548c\u65b0CPU\u67b6\u6784\u7684\u652f\u6301\u3002<\/li><li>gcc\u662f\u81ea\u7531\u8f6f\u4ef6\u3002\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u6216\u66f4\u6539\u8fd9\u4e2a\u8f6f\u4ef6\u3002<\/li><\/ol>\n\n\n\n<h2>gcc\u7f16\u8bd1\u7a0b\u5e8f\u4e3b\u8981\u7ecf\u8fc7\u56db\u4e2a\u8fc7\u7a0b\uff1a<\/h2>\n\n\n\n<p class=\"has-background has-white-background-color\">\u9884\u5904\u7406\uff08Pre-Processing\uff09<br> \u7f16\u8bd1 \uff08Compiling\uff09<br> \u6c47\u7f16 \uff08Assembling\uff09<br> \u94fe\u63a5 \uff08Linking\uff093. gcc\u7f16\u8bd1\u7a0b\u5e8f\u7684\u8fc7\u7a0b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u51e1\u6709\u6210\u8005\uff0c\u5fc5\u52a1\u4e8e\u5b9e\u3002\u51e1\u6709\u6240\u5b66\uff0c\u7686\u6210\u6027\u683c\u3002 1 \u4ec0\u4e48\u662fgcc gcc\u7684\u5168\u79f0\u662fGNU Compiler Colle &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2021\/12\/11\/gcc\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Linux\u7f16\u8bd1\u5de5\u5177\uff1agcc\u5165\u95e8<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/40"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":6,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":47,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions\/47"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}