{"id":93160,"date":"2024-04-13T18:52:11","date_gmt":"2024-04-13T10:52:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=93160"},"modified":"2024-04-13T18:52:11","modified_gmt":"2024-04-13T10:52:11","slug":"suse-linux-gcc-7","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/suse-linux-gcc-7.html","title":{"rendered":"SUSE\u56e2\u961f\u5df2\u5c06\u91cd\u5fc3\u504f\u5411GCC 7"},"content":{"rendered":"
SUSE\u7684Andreas Jaeger\u5728\u535a\u5ba2\u4e2d\u53d1\u8868\u4e86\u4e00\u7bc7\u5173\u4e8eSUSE Linux Enterprise Server 12\u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0\u5de5\u5177\u94fe\u4ee5\u53ca\u5b83\u6240\u5e26\u6765\u7684\u65b0\u5f00\u53d1\u5de5\u5177\u7684\u535a\u6587\u3002\u6587\u7ae0\u6307\u51fa\uff0c\u968f\u7740GNU Compiler Collection 7\u7684\u53d1\u5e03\uff0cGCC\u56e2\u961f\u4e3a\u5f00\u53d1\u4eba\u5458\u5e26\u6765\u4e86\u8bb8\u591a\u6539\u8fdb\uff0c\u5305\u62ec\u66f4\u597d\u7684\u8bca\u65ad\uff0cDWARF 5\u652f\u6301\u4ee5\u53ca\u5bf9C++ 17\u6807\u51c6\u7684\u652f\u6301\u3002<\/p>\n
<\/p>\n
GCC 7\u8fd8\u5305\u542b\u6539\u8fdb\u7684\u4f18\u5316\u4f20\u9012\uff0c\u5e76\u5145\u5206\u5229\u7528\u4e86\u73b0\u4ee3\u5904\u7406\u5668\u7684\u4e00\u4e9b\u529f\u80fd\uff0c\u73b0\u5728\u63d0\u4f9b\u7ed9\u6240\u6709SUSE Linux Enterprise Server 12\u5ba2\u6237\u79ef\u6781\u8ba2\u9605\u3002\u4e3a\u4e86\u652f\u6301SUSE Linux Enterprise Server 12\u4e2d\u7684GCC 7\u7f16\u8bd1\u5668\uff0cSUSE\u56e2\u961f\u8fd8\u5c06GNU Binutils\u548cGNU Debugger\uff08GDB\uff09\u8f6f\u4ef6\u5206\u522b\u66f4\u65b0\u5230\u64cd\u4f5c\u7cfb\u7edf\u7684\u5f00\u53d1\u5de5\u5177\u94fe\u4e2d\u7684\u7248\u672c2.29\u548c\u7248\u672c8.0.1\u3002<\/p>\n
Andreas Jaeger\u8868\u793a\uff1a\u201c\u8fd9\u4e9b\u66f4\u65b0\u4f5c\u4e3aSUSE Linux Enterprise Server\u8ba2\u9605\u7684\u4e00\u90e8\u5206\u63d0\u4f9b\uff0c\u7f16\u8bd1\u5668\u96c6\u5408\u53ef\u901a\u8fc7Toolchain\u6a21\u5757\u83b7\u5f97\u3002 Binutils\u548cGDB\u53ef\u4f5c\u4e3a\u6b63\u5e38\u7684\u7ef4\u62a4\u66f4\u65b0\u3002GNU Debugger 8.0.1\u662f\u4e00\u4e2a\u53d7\u6b22\u8fce\u7684\u8865\u5145\uff0c\u56e0\u4e3a\u5b83\u8fd8\u589e\u52a0\u4e86\u5bf9GCC\u4f7f\u7528\u6700\u65b0\u7684DWARF 5\u8c03\u8bd5\u683c\u5f0f\u7684\u652f\u6301\uff0c\u4ee5\u53ca\u5bf9C ++\u53f3\u503c\u5f15\u7528\u7684\u652f\u6301\u3002\u6709\u5173\u4ed6\u4eec\u4f18\u52bf\u7684\u66f4\u591a\u7ec6\u8282\uff0c\u8bf7\u67e5\u770b\u535a\u5ba2\u6587\u7ae0\u3002<\/p>\n
\u5e0c\u671b\u5229\u7528\u65b0\u5de5\u5177\u94fe\u5e76\u5c06\u5176\u5b89\u88c5\u5230\u8ba1\u7b97\u673a\u4e0a\u7684SUSE Linux Enterprise Server 12\u5ba2\u6237\u5fc5\u987b\u9996\u5148\u6ce8\u518cToolchain\u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528\u201czypper in gcc-7\u201d\u547d\u4ee4\u901a\u8fc7YaST\u6216\u7ec8\u7aef\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u540e\uff0c\u4ed6\u4eec\u5c06\u80fd\u591f\u4f7f\u7528GNU\u7f16\u8bd1\u5668\u96c6\u54087\u6765\u7f16\u8bd1\u7a0b\u5e8f\u3002\u65b0\u7684\u5305\u662fgcc-7 \u548c g++-7\uff08\u4f8b\u5982gcc-7 hello.c -o hello\uff09\u3002\u65e7\u7684GCC\u7248\u672c\u4ecd\u7136\u53ef\u7528\uff0c\u53ef\u4ee5\u4f7f\u7528gcc\u6216g ++\u547d\u4ee4\u3002<\/p>\n
\n\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.linuxidc.com\/Linux\/2018-01\/150368.htm<\/a><\/p>\n