{"id":962,"date":"2018-07-26T22:03:32","date_gmt":"2018-07-26T14:03:32","guid":{"rendered":"http:\/\/www.haku.studio\/?p=962"},"modified":"2018-07-26T22:04:27","modified_gmt":"2018-07-26T14:04:27","slug":"centos7-%e5%8d%87%e7%ba%a7gcc%e8%87%b37-3-0","status":"publish","type":"post","link":"https:\/\/bloo.heing.fun\/?p=962","title":{"rendered":"centos7 \u5347\u7ea7GCC\u81f37.3.0"},"content":{"rendered":"<p>\u56fd\u5185\u627e\u4e86\u4e00\u5708\u672a\u53d1\u73b0\u597d\u7528\u7684\u3002\u540e\u6765\u7ec8\u4e8e\u5728\u56fd\u5916\u627e\u5230\u3002<a href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gcc-on-centos-7\/\">\u6e90\u5730\u5740<\/a><\/p>\n<p>\u603b\u7ed3\uff1a<\/p>\n<p>wget http:\/\/ftp.mirrorservice.org\/sites\/sourceware.org\/pub\/gcc\/releases\/gcc-7.3.0\/gcc-7.3.0.tar.gz<\/p>\n<p>tar zxf gcc-7.3.0.tar.gz<br \/>\ncd gcc-7.3.0<\/p>\n<p>yum -y install bzip2<br \/>\n.\/contrib\/download_prerequisites<\/p>\n<p>.\/configure &#8211;disable-multilib &#8211;enable-languages=c,c++<\/p>\n<p>make -j 4<br \/>\nmake install<\/p>\n<p>gcc &#8211;version<\/p>\n<p><audio style=\"display: none;\" controls=\"controls\"><\/audio><\/p>\n<p><audio style=\"display: none;\" controls=\"controls\"><\/audio><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56fd\u5185\u627e\u4e86\u4e00\u5708\u672a\u53d1\u73b0\u597d\u7528\u7684\u3002\u540e\u6765\u7ec8\u4e8e\u5728\u56fd\u5916\u627e\u5230\u3002\u6e90\u5730\u5740 \u603b\u7ed3\uff1a wget http:\/\/ftp.mirrorse [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=962"}],"version-history":[{"count":2,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":964,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=\/wp\/v2\/posts\/962\/revisions\/964"}],"wp:attachment":[{"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bloo.heing.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}