{"id":276966,"date":"2023-07-09T23:12:51","date_gmt":"2023-07-09T15:12:51","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=276966"},"modified":"2023-07-09T23:12:51","modified_gmt":"2023-07-09T15:12:51","slug":"lxtazgxxgc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtazgxxgc.html","title":{"rendered":"linux\u7cfb\u7edf\u5b89\u88c5gcc\u8be6\u7ec6\u8fc7\u7a0b"},"content":{"rendered":"
gcc\u662f linux\u5185\u6838\u4e2d\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u5bf9 linux\u5185\u6838\u8fdb\u884c\u4e86\u91cd\u65b0\u7ec4\u7ec7\uff0c\u52a0\u5165\u4e86\u5f88\u591a\u65b0\u7684\u529f\u80fd\u3002gcc\u662f\u4e00\u4e2a\u901a\u7528\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\u6846\u67b6\uff0c\u5b83\u53ef\u4ee5\u4e3a\u8fdb\u7a0b\u63d0\u4f9b\u4fe1\u606f\u670d\u52a1\u3001\u9a71\u52a8\u7a0b\u5e8f\u652f\u6301\u548c\u6570\u636e\u4ea4\u6362\u7b49\u529f\u80fd\u3002gcc\u7684\u4f5c\u7528\u4e3b\u8981\u662f\u4e3a\u4e86\u4f7f\u7cfb\u7edf\u4e2d\u5404\u4e2a\u8fdb\u7a0b\u95f4\u80fd\u6709\u6548\u5730\u8fdb\u884c\u901a\u4fe1\u3002
\ngcc\u7684\u6e90\u4ee3\u7801\u4e2d\u8fd8\u5305\u62ec\u4e00\u4e2a\u53eb\u505a system. log. gcc\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u5b58\u50a8\u4e86\u7528\u4e8e\u901a\u4fe1\u7684\u4e00\u4e9b\u89c4\u5219\u548c\u6570\u636e\u7ed3\u6784\u3002system. log. gcc\u6587\u4ef6\u5b9a\u4e49\u4e86\u7cfb\u7edf\u901a\u4fe1\u63a5\u53e3\u548c\u6570\u636e\u4ea4\u6362\u65b9\u5f0f\u7b49\uff0c system. log. gcc\u6587\u4ef6\u7528\u6765\u5b58\u653e\u7cfb\u7edf\u5404\u8fdb\u7a0b\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u7684\u89c4\u5219\uff0c\u4ee5\u53ca\u5404\u79cd\u6570\u636e\u7ed3\u6784\u548c\u901a\u4fe1\u8fc7\u7a0b\u4e2d\u4ea7\u751f\u7684\u7ed3\u679c\u3002
\n\u4e00\u3001 gcc\u7684\u5b89\u88c5\u6b65\u9aa4
\n\u9996\u5148\uff0c\u5b89\u88c5\u9700\u8981\u4f7f\u7528\u5230 gcc\u3002\u8bf7\u6ce8\u610f\uff0c\u5982\u679c\u60a8\u5b89\u88c5\u7684\u662f Bash\u73af\u5883\uff0c\u5219\u5fc5\u987b\u8981\u5148\u5b89\u88c5 Bash\u624d\u80fd\u4f7f\u7528 gcc\u3002\u5982\u679c\u60a8\u662f\u4f7f\u7528 Nucleus\uff0c\u5219\u53ef\u4ee5\u4e0d\u5b89\u88c5 gcc\u800c\u4f7f\u7528 gcc\u7684\u5305\u6765\u5b9e\u73b0\u3002\u4f46\u662f\u4e3a\u4e86\u5f97\u5230\u66f4\u597d\u7684\u6548\u679c\uff0c\u8fd8\u662f\u5efa\u8bae\u60a8\u5148\u5b89\u88c5 Bash\u73af\u5883\u3002
\n\u6211\u4eec\u4ee5 Debian\u4e3a\u4f8b\uff1a
\n\u8bf7\u6ce8\u610f\uff0c\u8fd9\u91cc\u6211\u4eec\u4f7f\u7528\u7684\u662f linux5.11\u7248\u672c\u3002\u5982\u679c\u60a8\u7684\u7cfb\u7edf\u662f5.11\u6216\u66f4\u9ad8\u7248\u672c\uff0c\u5219\u9700\u8981\u5b89\u88c5 Linux4.10\u6216\u66f4\u9ad8\u7248\u672c\u624d\u80fd\u4f7f\u7528 gcc\u3002
\n\u5728\u5b89\u88c5\u5b8c\u6240\u6709\u4e1c\u897f\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u770b\u5230 Gccflow. log\u6587\u4ef6\u4e86\u3002\u6700\u540e\uff0c\u70b9\u51fb system. log. gcc\u5373\u53ef\u5f00\u59cb\u4f53\u9a8c gccflow. log\u7684\u9b45\u529b\u4e86\u3002
\n\u4e8c\u3001 gcc\u7684\u5177\u4f53\u5b9e\u73b0\u8fc7\u7a0b
\n\u6211\u4eec\u90fd\u77e5\u9053 Linux\u7cfb\u7edf\u7684\u5185\u6838\u662f\u4e00\u4e2a\u7ebf\u7a0b\uff0c\u540c\u65f6\u5177\u6709\u72ec\u7acb\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u6bcf\u4e2a\u7ebf\u7a0b\u6709\u81ea\u5df1\u7684\u4e00\u5757\u5185\u5b58\u533a\u57df\u3002\u7531\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u662f\u591a\u7ebf\u7a0b\u8fd0\u884c\u7684\uff0c\u6240\u4ee5\u591a\u7ebf\u7a0b\u4e4b\u95f4\u7684\u901a\u4fe1\u662f\u7531 gcc\u6765\u5b9e\u73b0\u7684\u3002
\n\u5f53 Linux\u8fdb\u7a0b\u53d1\u51fa\u4e00\u4e2a\u8bf7\u6c42\u540e\uff0c\u7cfb\u7edf\u4f1a\u5411\u5185\u6838\u53d1\u9001\u4e00\u4e2a\u4fe1\u53f7\uff0c\u5728\u4fe1\u53f7\u4e2d\u5305\u542b\u7740\u5bf9 gcc\u51fd\u6570\u7684\u8c03\u7528\u51fd\u6570\u540d\u548c\u51fd\u6570\u5730\u5740\uff0c\u5176\u5185\u5bb9\u5982\u4e0b\u6240\u793a\uff1a
\n\u5f53 Linux\u8fdb\u7a0b\u5411\u5185\u6838\u53d1\u51fa\u8bf7\u6c42\u540e\uff0c\u5b83\u9996\u5148\u4f1a\u5411 system. log. gcc\u6587\u4ef6\u4e2d\u5199\u5165 system. log. gcc\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\uff0c\u7136\u540e\u5c06 system. log. gcc\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u5199\u5165\u5230\u4e00\u4e2a\u53d8\u91cf\u4e2d\u3002
\n\u4e09\u3001 gcc\u670d\u52a1\u8c03\u7528\u539f\u7406
\n\u9996\u5148\uff0c\u8981\u5148\u5efa\u7acb\u4e00\u4e2a\u540d\u4e3agcc_service\u7684\u670d\u52a1\uff0c\u7136\u540e\u5bf9\u8be5\u670d\u52a1\u8fdb\u884c\u52a0\u8f7d\uff0c\u518d\u52a0\u4e0a\u6307\u5b9a\u7684\u53c2\u6570\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002
\n\u4e0d\u8fc7\u8981\u6ce8\u610f\uff0c\u8fd9\u4e2a\u53c2\u6570\u662f\u7528\u6237\u6307\u5b9a\u7684\u53c2\u6570\uff0c\u5e76\u4e14\u4e5f\u662f\u9ed8\u8ba4\u503c\u3002
\n\u5728\u6587\u4ef6\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 findfs. exe\u8fd9\u4e2a\u6a21\u5757\u6765\u52a0\u8f7d\u6307\u5b9a\u7684\u6587\u4ef6\u7cfb\u7edf\u5e93\u6587\u4ef6\u3002
\n\u7531\u4e8e\u8fd9\u91cc\u53ea\u80fd\u52a0\u8f7d telnet \uff08telnet\u662f\u5728\u4e00\u4e2a\u5171\u4eab\u7684\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u7cfb\u7edf\uff09\u7684\u76ee\u5f55\uff0c\u6240\u4ee5\u5728\u52a0\u8f7d\u8fd9\u79cd\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u65f6\uff0c\u4e5f\u5fc5\u987b\u5148\u52a0\u8f7d\u5bf9\u5e94\u6587\u4ef6\u7cfb\u7edf\u5e93\u6587\u4ef6\u624d\u884c\u3002\u56e0\u6b64\u4e3a\u4e86\u4f7f\u7528\u65b9\u4fbf\uff0c\u4e00\u822c\u90fd\u662f\u7528 telnet\u4f5c\u4e3a\u53c2\u6570\u3002
\n\u8fd9\u6837\u53ef\u4ee5\u4fdd\u8bc1\uff0c\u5f53\u6211\u60f3\u8981\u4f7f\u7528 gcc\u670d\u52a1\u65f6\uff0c\u4e0d\u7528\u53bb\u91cd\u65b0\u52a0\u8f7d\u5bf9\u5e94\u7684\u6587\u4ef6\u7cfb\u7edf\u5e93\u6587\u4ef6\u4e86\u3002
\n\u56db\u3001\u4f7f\u7528 gcc\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u7684\u57fa\u672c\u65b9\u5f0f
\ngcc\u63d0\u4f9b\u4e86\u4e24\u79cd\u57fa\u672c\u7684\u6570\u636e\u4ea4\u6362\u65b9\u5f0f\uff1a\u7ba1\u9053\u548c\u4fe1\u53f7\u3002
\n\u7ba1\u9053\u662f\u4e00\u79cd\u7b80\u5355\u7684\u6570\u636e\u4ea4\u6362\u65b9\u5f0f\uff0c\u5b83\u901a\u8fc7\u8fdb\u7a0b\u7684\u4fe1\u53f7\u4e0e\u5176\u5b83\u8fdb\u7a0b\u4ea4\u6362\u6570\u636e\uff0c\u4e3b\u8981\u7528\u4e8e\u901a\u8fc7\u8bfb\u5199\u5185\u5b58\u4e0e\u5916\u90e8\u8bbe\u5907\u901a\u4fe1\u3002
\n\u4fe1\u53f7\u662f\u4e00\u79cd\u590d\u6742\u7684\u6570\u636e\u4ea4\u6362\u65b9\u5f0f\uff0c\u5b83\u901a\u8fc7\u7ed9 gcc\u63d0\u4f9b\u4e00\u4e2a\u53c2\u6570\u6765\u63a7\u5236\u7cfb\u7edf\u5982\u4f55\u5bf9\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u5b83\u80fd\u591f\u4f7f\u5916\u90e8\u8bbe\u5907\u6309\u7167\u67d0\u79cd\u89c4\u5219\u5bf9\u8fdb\u7a0b\u505a\u51fa\u54cd\u5e94\u3002
\n\u4f7f\u7528 gcc\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u7ba1\u9053\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4fe1\u53f7\u8fdb\u884c\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
gcc\u662f linux\u5185\u6838\u4e2d\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u5bf9 linux\u5185\u6838\u8fdb\u884c\u4e86\u91cd\u65b0\u7ec4\u7ec7\uff0c\u52a0\u5165\u4e86\u5f88\u591a\u65b0\u7684\u529f\u80fd\u3002gcc\u662f\u4e00\u4e2a\u901a\u7528\u7684 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[],"class_list":["post-276966","post","type-post","status-publish","format-standard","hentry","category-tougao"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/276966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=276966"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/276966\/revisions"}],"predecessor-version":[{"id":276968,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/276966\/revisions\/276968"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=276966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=276966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=276966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}