{"id":44215,"date":"2025-06-18T06:10:46","date_gmt":"2025-06-17T22:10:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/44215.html"},"modified":"2025-06-18T06:10:46","modified_gmt":"2025-06-17T22:10:46","slug":"%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%b3%bb%e7%bb%9f%e5%8d%87%e7%ba%a7%e5%ae%89%e8%a3%85gcc","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/44215.html","title":{"rendered":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E5%89%8D%E8%A8%80-toc\" style=\"margin-left:0px\">\u524d\u8a00<\/p>\n<p id=\"%E4%B8%80%E3%80%81%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87-toc\" style=\"margin-left:0px\">\u4e00\u3001\u73af\u5883\u51c6\u5907<\/p>\n<p id=\"1.%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:80px\">1.\u7cfb\u7edf\u73af\u5883<\/p>\n<p id=\"2.%20%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96-toc\" style=\"margin-left:80px\">2. \u5b89\u88c5\u4f9d\u8d56<\/p>\n<p id=\"3.%20%E4%B8%8B%E8%BD%BD%20GCC%20%E6%BA%90%E7%A0%81-toc\" style=\"margin-left:80px\">3. \u4e0b\u8f7d GCC \u6e90\u7801<\/p>\n<p id=\"4.%20%E4%B8%8B%E8%BD%BD%E4%BE%9D%E8%B5%96%E5%BA%93%EF%BC%88%E5%8F%AF%E9%80%89%EF%BC%89-toc\" style=\"margin-left:80px\">4. \u4e0b\u8f7d\u4f9d\u8d56\u5e93&#xff08;\u53ef\u9009&#xff09;<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:0px\">\u4e8c\u3001\u7f16\u8bd1\u5b89\u88c5<\/p>\n<p id=\"1.%20%E9%85%8D%E7%BD%AE%E7%BC%96%E8%AF%91%E9%80%89%E9%A1%B9-toc\" style=\"margin-left:80px\">1. \u914d\u7f6e\u7f16\u8bd1\u9009\u9879<\/p>\n<p id=\"2.%20%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:80px\">2. \u7f16\u8bd1\u5b89\u88c5<\/p>\n<p id=\"3.%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F%E5%BA%93%E9%93%BE%E6%8E%A5-toc\" style=\"margin-left:80px\">3.\u66f4\u65b0\u7cfb\u7edf\u5e93\u94fe\u63a5<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E9%AA%8C%E8%AF%81%E7%89%88%E6%9C%AC-toc\" style=\"margin-left:0px\">\u4e09\u3001\u9a8c\u8bc1\u7248\u672c<\/p>\n<p id=\"%E6%80%BB%E7%BB%93-toc\" style=\"margin-left:0px\">\u603b\u7ed3<\/p>\n<hr \/>\n<h2 id=\"%E5%89%8D%E8%A8%80\">\u524d\u8a00<\/h2>\n<p id=\"\">\u5728\u56fd\u4ea7\u64cd\u4f5c\u7cfb\u7edf\u751f\u6001\u84ec\u52c3\u53d1\u5c55\u7684\u80cc\u666f\u4e0b&#xff0c;\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u3001\u9ad8\u7a33\u5b9a\u6027\u548c\u81ea\u4e3b\u53ef\u63a7\u7279\u6027&#xff0c;\u5df2\u6210\u4e3a\u5173\u952e\u884c\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u7684\u6838\u5fc3\u57fa\u7840\u8bbe\u65bd\u3002\u7136\u800c&#xff0c;\u968f\u7740\u4e1a\u52a1\u9700\u6c42\u548c\u6280\u672f\u6f14\u8fdb&#xff0c;\u5f00\u53d1\u8005\u5e38\u9762\u4e34\u7cfb\u7edf\u9884\u88c5GCC\u7248\u672c\u65e0\u6cd5\u6ee1\u8db3\u73b0\u4ee3\u8f6f\u4ef6\u7f16\u8bd1\u9700\u6c42\u7684\u6311\u6218\u2014\u2014\u4f8b\u5982&#xff0c;\u67d0\u4e9b\u65b0\u5de5\u5177\u94fe\u6216\u7b2c\u4e09\u65b9\u5e93\u4f9d\u8d56\u66f4\u9ad8\u7248\u672c\u7684GLIBCXX\u6807\u51c6\u5e93&#xff08;\u5982GLIBCXX_3.4.25\u4ee5\u4e0a&#xff09;&#xff0c;\u800c\u9ed8\u8ba4\u5b89\u88c5\u7684GCC\u53ef\u80fd\u5b58\u5728\u7248\u672c\u6ede\u540e\u95ee\u9898\u3002\u672c\u6587\u5c06\u8bb2\u89e3\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u4e0bGCC\u7684\u5347\u7ea7\u4e0e\u5b89\u88c5\u5b9e\u8df5\u3002<\/p>\n<\/p>\n<h2 id=\"%E4%B8%80%E3%80%81%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87\">\u4e00\u3001\u73af\u5883\u51c6\u5907<\/h2>\n<h4 id=\"1.%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83\">1.\u7cfb\u7edf\u73af\u5883<\/h4>\n<p>[root&#064;localhost ~]# nkvers<br \/>\n############## Kylin Linux Version #################<br \/>\nRelease:<br \/>\nKylin Linux Advanced Server release V10 (Halberd)<\/p>\n<p>Kernel:<br \/>\n4.19.90-89.11.v2401.ky10.x86_64<\/p>\n<p>Build:<br \/>\nKylin Linux Advanced Server<br \/>\nrelease V10 SP3 2403\/(Halberd)-x86_64-Build20\/20240426<br \/>\n#################################################<br \/>\n[root&#064;localhost ~]# <\/p>\n<h4 id=\"2.%20%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96\">2. \u5b89\u88c5\u4f9d\u8d56<\/h4>\n<p>\u9996\u5148\u5b89\u88c5\u5fc5\u8981\u7684\u5f00\u53d1\u5de5\u5177\u548c\u4f9d\u8d56\u5e93&#xff1a;<\/p>\n<p>yum groupinstall &#034;Development Tools&#034; -y<br \/>\nyum install wget gmp-devel mpfr-devel libmpc-devel texinfo -y <\/p>\n<h2 id=\"\"><\/h2>\n<h4 id=\"3.%20%E4%B8%8B%E8%BD%BD%20GCC%20%E6%BA%90%E7%A0%81\">3. \u4e0b\u8f7d GCC \u6e90\u7801<\/h4>\n<p>\u8bbf\u95ee\u5b98\u7f51\u5730\u5740\u00a0&#xff08;https:\/\/ftp.gnu.org\/gnu\/gcc&#xff09;\u76f4\u63a5\u4e0b\u8f7d\u7a33\u5b9a\u7248&#xff08;\u5982 GCC 9.3.0&#xff09;&#xff0c;\u5176\u5b83\u65b0\u7248\u672c\u4e5f\u53ef\u4ee5&#xff0c;\u770b\u81ea\u5df1\u7684\u9700\u6c42&#xff0c;\u672c\u6587\u4ee5 GCC 9.3.0\u7248\u672c\u4e3a\u4f8b\u5b89\u88c5\u3002<\/p>\n<p># \u5982\u679cwget\u4e0b\u8f7d\u8bbf\u95ee\u4e0d\u4e86&#xff0c;\u53ef\u4ee5\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee\u4e0b\u8f7d&#xff0c;\u7136\u540e\u4e0a\u4f20\u5230\u670d\u52a1\u5668<br \/>\nwget https:\/\/ftp.gnu.org\/gnu\/gcc\/gcc-9.3.0\/gcc-9.3.0.tar.gz<br \/>\ntar -xvf gcc-9.3.0.tar.gz<br \/>\ncd gcc-9.3.0 <\/p>\n<h4 id=\"4.%20%E4%B8%8B%E8%BD%BD%E4%BE%9D%E8%B5%96%E5%BA%93%EF%BC%88%E5%8F%AF%E9%80%89%EF%BC%89\">4. \u4e0b\u8f7d\u4f9d\u8d56\u5e93&#xff08;\u53ef\u9009&#xff09;<\/h4>\n<p>GCC \u7f16\u8bd1\u9700\u8981\u4f9d\u8d56\u00a0gmp\u3001mpfr\u3001mpc&#xff0c;\u5982\u679c\u7f51\u7edc\u7545\u901a&#xff0c;\u53ef\u4ee5\u81ea\u52a8\u4e0b\u8f7d&#xff0c;\u5982\u679c\u4e0b\u8f7d\u5931\u8d25&#xff0c;\u9700\u624b\u52a8\u5b89\u88c5\u4f9d\u8d56&#xff08;\u89c1\u6b65\u9aa41&#xff09;\u3002<\/p>\n<p>cd gcc-9.3.0<br \/>\n.\/contrib\/download_prerequisites <\/p>\n<h2 id=\"%E4%BA%8C%E3%80%81%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85\">\u4e8c\u3001\u7f16\u8bd1\u5b89\u88c5<\/h2>\n<h4 id=\"1.%20%E9%85%8D%E7%BD%AE%E7%BC%96%E8%AF%91%E9%80%89%E9%A1%B9\">1. \u914d\u7f6e\u7f16\u8bd1\u9009\u9879<\/h4>\n<p>\u521b\u5efa\u4e00\u4e2a\u6784\u5efa\u76ee\u5f55\u5e76\u914d\u7f6e GCC&#xff1a;<\/p>\n<p>mkdir build<br \/>\ncd build<br \/>\n..\/configure &#8211;prefix&#061;\/usr\/local\/gcc-9.3.0 &#8211;enable-languages&#061;c,c&#043;&#043; &#8211;disable-multilib<\/p>\n<p># &#8211;prefix&#xff1a;\u6307\u5b9a\u5b89\u88c5\u8def\u5f84&#xff08;\u5efa\u8bae \/usr\/local\/gcc-\u7248\u672c\u53f7&#xff09;\u3002<br \/>\n# &#8211;enable-languages&#xff1a;\u9009\u62e9\u7f16\u8bd1\u7684\u8bed\u8a00&#xff08;\u8fd9\u91cc\u53ea\u9700\u8981 C\/C&#043;&#043;&#xff09;\u3002<br \/>\n# &#8211;disable-multilib&#xff1a;\u7981\u7528\u591a\u5e93\u652f\u6301&#xff08;\u7b80\u5316\u7f16\u8bd1&#xff09;\u3002 <\/p>\n<h4 id=\"2.%20%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85\">2. \u7f16\u8bd1\u5b89\u88c5 <\/h4>\n<p>\u542f\u52a8\u7f16\u8bd1&#xff0c;\u8017\u65f6\u8f83\u957f&#xff0c;\u5efa\u8bae\u4f7f\u7528 -j \u5e76\u884c\u7f16\u8bd1&#xff1a;<\/p>\n<p>make -j$(nproc)  &amp;&amp; make install  # nproc \u662f CPU \u6838\u5fc3\u6570&#xff0c;\u5982 make -j8<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"714\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250617221044-6851e7e414f12.png\" width=\"1631\" \/><\/p>\n<p>\u7f16\u8bd1\u65f6\u95f4\u53ef\u80fd\u957f\u8fbe 1~2 \u5c0f\u65f6&#xff0c;\u53d6\u51b3\u4e8e\u673a\u5668\u6027\u80fd\u3002<\/p>\n<h4 id=\"3.%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F%E5%BA%93%E9%93%BE%E6%8E%A5\">3.\u66f4\u65b0\u7cfb\u7edf\u5e93\u94fe\u63a5<\/h4>\n<p>ln -sf \/usr\/local\/gcc-9.3.0\/bin\/gcc \/usr\/bin\/gcc<br \/>\nln -sf \/usr\/local\/gcc-9.3.0\/bin\/g&#043;&#043; \/usr\/bin\/g&#043;&#043;<br \/>\n# libstdc&#043;&#043;\u7248\u672c\u53ef\u80fd\u4e0d\u4e00\u6837&#xff0c;\u6839\u636e\u81ea\u5df1\u6240\u5b89\u88c5\u7684\u7248\u672c\u8fdb\u884c\u4fee\u6539<br \/>\nln -sf \/usr\/local\/gcc-9.3.0\/lib64\/libstdc&#043;&#043;.so.6.0.28 \/usr\/lib64\/libstdc&#043;&#043;.so.6 <\/p>\n<h2 id=\"%E4%B8%89%E3%80%81%E9%AA%8C%E8%AF%81%E7%89%88%E6%9C%AC\">\u4e09\u3001\u9a8c\u8bc1\u7248\u672c<\/h2>\n<p>[root&#064;localhost gcc-9.3.0]# gcc &#8211;version<br \/>\ngcc (GCC) 9.3.0<br \/>\nCopyright \u00a9 2019 Free Software Foundation, Inc.<br \/>\n\u672c\u7a0b\u5e8f\u662f\u81ea\u7531\u8f6f\u4ef6&#xff1b;\u8bf7\u53c2\u770b\u6e90\u4ee3\u7801\u7684\u7248\u6743\u58f0\u660e\u3002\u672c\u8f6f\u4ef6\u6ca1\u6709\u4efb\u4f55\u62c5\u4fdd&#xff1b;<br \/>\n\u5305\u62ec\u6ca1\u6709\u9002\u9500\u6027\u548c\u67d0\u4e00\u4e13\u7528\u76ee\u7684\u4e0b\u7684\u9002\u7528\u6027\u62c5\u4fdd\u3002<br \/>\n[root&#064;localhost gcc-9.3.0]# strings \/usr\/local\/gcc-9.3.0\/lib64\/libstdc&#043;&#043;.so.6 | grep GLIBCXX<br \/>\nGLIBCXX_3.4<br \/>\nGLIBCXX_3.4.1<br \/>\nGLIBCXX_3.4.2<br \/>\nGLIBCXX_3.4.3<br \/>\nGLIBCXX_3.4.4<br \/>\nGLIBCXX_3.4.5<br \/>\nGLIBCXX_3.4.6<br \/>\nGLIBCXX_3.4.7<br \/>\nGLIBCXX_3.4.8<br \/>\nGLIBCXX_3.4.9<br \/>\nGLIBCXX_3.4.10<br \/>\nGLIBCXX_3.4.11<br \/>\nGLIBCXX_3.4.12<br \/>\nGLIBCXX_3.4.13<br \/>\nGLIBCXX_3.4.14<br \/>\nGLIBCXX_3.4.15<br \/>\nGLIBCXX_3.4.16<br \/>\nGLIBCXX_3.4.17<br \/>\nGLIBCXX_3.4.18<br \/>\nGLIBCXX_3.4.19<br \/>\nGLIBCXX_3.4.20<br \/>\nGLIBCXX_3.4.21<br \/>\nGLIBCXX_3.4.22<br \/>\nGLIBCXX_3.4.23<br \/>\nGLIBCXX_3.4.24<br \/>\nGLIBCXX_3.4.25<br \/>\nGLIBCXX_3.4.26<br \/>\nGLIBCXX_3.4.27<br \/>\nGLIBCXX_3.4.28<br \/>\nGLIBCXX_DEBUG_MESSAGE_LENGTH<br \/>\n_ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv&#064;GLIBCXX_3.4<br \/>\n_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv&#064;&#064;GLIBCXX_3.4.5<br \/>\n_ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw&#064;GLIBCXX_3.4<br \/>\n_ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv&#064;&#064;GLIBCXX_3.4.5<br \/>\nGLIBCXX_3.4.21<br \/>\nGLIBCXX_3.4.9<\/p>\n<h3 id=\"\"><\/h3>\n<p>\u7248\u672c\u6b63\u786e&#xff0c;\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<hr \/>\n<h2 id=\"%E6%80%BB%E7%BB%93\">\u603b\u7ed3<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"660\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250617221045-6851e7e50d13d.png\" width=\"1243\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb716\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728\u56fd\u4ea7\u64cd\u4f5c\u7cfb\u7edf\u751f\u6001\u84ec\u52c3\u53d1\u5c55\u7684\u80cc\u666f\u4e0b\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u3001\u9ad8\u7a33\u5b9a\u6027\u548c\u81ea\u4e3b\u53ef\u63a7\u7279\u6027\uff0c\u5df2\u6210\u4e3a\u5173\u952e\u884c\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u7684\u6838\u5fc3\u57fa\u7840\u8bbe\u65bd\u3002\u7136\u800c\uff0c\u968f\u7740\u4e1a\u52a1\u9700\u6c42\u548c\u6280\u672f\u6f14\u8fdb\uff0c\u5f00\u53d1\u8005\u5e38\u9762\u4e34\u7cfb\u7edf\u9884\u88c5GCC\u7248\u672c\u65e0\u6cd5\u6ee1\u8db3\u73b0\u4ee3\u8f6f\u4ef6\u7f16\u8bd1\u9700\u6c42\u7684\u6311\u6218\u2014\u2014\u4f8b\u5982\uff0c\u67d0\u4e9b\u65b0\u5de5\u5177\u94fe\u6216\u7b2c\u4e09\u65b9\u5e93\u4f9d\u8d56\u66f4\u9ad8\u7248\u672c\u7684GLIBCXX\u6807\u51c6\u5e93\uff08\u5982GLIBCXX_3.4.25\u4ee5\u4e0a\uff09\uff0c\u800c\u9ed8\u8ba4\u5b89\u88c5\u7684GCC\u53ef\u80fd\u5b58\u5728\u7248\u672c\u6ede\u540e\u95ee\u9898\u3002\u672c\u6587\u5c06\u8bb2\u89e3\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u4e0bGCC\u7684\u5347\u7ea7\u4e0e\u5b89\u88c5\u5b9e\u8df5\u3002_\u94f6\u6cb3\u9e92\u9e9f\u5b89\u88c5gcc<\/p>\n","protected":false},"author":2,"featured_media":44213,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1455,3585,589],"topic":[],"class_list":["post-44215","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gcc","tag-3585","tag-589"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/44215.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb716\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728\u56fd\u4ea7\u64cd\u4f5c\u7cfb\u7edf\u751f\u6001\u84ec\u52c3\u53d1\u5c55\u7684\u80cc\u666f\u4e0b\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u3001\u9ad8\u7a33\u5b9a\u6027\u548c\u81ea\u4e3b\u53ef\u63a7\u7279\u6027\uff0c\u5df2\u6210\u4e3a\u5173\u952e\u884c\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u7684\u6838\u5fc3\u57fa\u7840\u8bbe\u65bd\u3002\u7136\u800c\uff0c\u968f\u7740\u4e1a\u52a1\u9700\u6c42\u548c\u6280\u672f\u6f14\u8fdb\uff0c\u5f00\u53d1\u8005\u5e38\u9762\u4e34\u7cfb\u7edf\u9884\u88c5GCC\u7248\u672c\u65e0\u6cd5\u6ee1\u8db3\u73b0\u4ee3\u8f6f\u4ef6\u7f16\u8bd1\u9700\u6c42\u7684\u6311\u6218\u2014\u2014\u4f8b\u5982\uff0c\u67d0\u4e9b\u65b0\u5de5\u5177\u94fe\u6216\u7b2c\u4e09\u65b9\u5e93\u4f9d\u8d56\u66f4\u9ad8\u7248\u672c\u7684GLIBCXX\u6807\u51c6\u5e93\uff08\u5982GLIBCXX_3.4.25\u4ee5\u4e0a\uff09\uff0c\u800c\u9ed8\u8ba4\u5b89\u88c5\u7684GCC\u53ef\u80fd\u5b58\u5728\u7248\u672c\u6ede\u540e\u95ee\u9898\u3002\u672c\u6587\u5c06\u8bb2\u89e3\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u4e0bGCC\u7684\u5347\u7ea7\u4e0e\u5b89\u88c5\u5b9e\u8df5\u3002_\u94f6\u6cb3\u9e92\u9e9f\u5b89\u88c5gcc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/44215.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-17T22:10:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250617221044-6851e7e414f12.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44215.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/44215.html\",\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-17T22:10:46+00:00\",\"dateModified\":\"2025-06-17T22:10:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/44215.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/44215.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44215.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/44215.html","og_locale":"zh_CN","og_type":"article","og_title":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb716\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5728\u56fd\u4ea7\u64cd\u4f5c\u7cfb\u7edf\u751f\u6001\u84ec\u52c3\u53d1\u5c55\u7684\u80cc\u666f\u4e0b\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u3001\u9ad8\u7a33\u5b9a\u6027\u548c\u81ea\u4e3b\u53ef\u63a7\u7279\u6027\uff0c\u5df2\u6210\u4e3a\u5173\u952e\u884c\u4e1a\u6570\u5b57\u5316\u8f6c\u578b\u7684\u6838\u5fc3\u57fa\u7840\u8bbe\u65bd\u3002\u7136\u800c\uff0c\u968f\u7740\u4e1a\u52a1\u9700\u6c42\u548c\u6280\u672f\u6f14\u8fdb\uff0c\u5f00\u53d1\u8005\u5e38\u9762\u4e34\u7cfb\u7edf\u9884\u88c5GCC\u7248\u672c\u65e0\u6cd5\u6ee1\u8db3\u73b0\u4ee3\u8f6f\u4ef6\u7f16\u8bd1\u9700\u6c42\u7684\u6311\u6218\u2014\u2014\u4f8b\u5982\uff0c\u67d0\u4e9b\u65b0\u5de5\u5177\u94fe\u6216\u7b2c\u4e09\u65b9\u5e93\u4f9d\u8d56\u66f4\u9ad8\u7248\u672c\u7684GLIBCXX\u6807\u51c6\u5e93\uff08\u5982GLIBCXX_3.4.25\u4ee5\u4e0a\uff09\uff0c\u800c\u9ed8\u8ba4\u5b89\u88c5\u7684GCC\u53ef\u80fd\u5b58\u5728\u7248\u672c\u6ede\u540e\u95ee\u9898\u3002\u672c\u6587\u5c06\u8bb2\u89e3\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u4e0bGCC\u7684\u5347\u7ea7\u4e0e\u5b89\u88c5\u5b9e\u8df5\u3002_\u94f6\u6cb3\u9e92\u9e9f\u5b89\u88c5gcc","og_url":"https:\/\/www.wsisp.com\/helps\/44215.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-17T22:10:46+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250617221044-6851e7e414f12.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/44215.html","url":"https:\/\/www.wsisp.com\/helps\/44215.html","name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-17T22:10:46+00:00","dateModified":"2025-06-17T22:10:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/44215.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/44215.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/44215.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u5347\u7ea7\u5b89\u88c5gcc"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/44215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=44215"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/44215\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/44213"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=44215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=44215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=44215"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=44215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}