{"id":44076,"date":"2023-04-24T14:09:38","date_gmt":"2023-04-24T06:09:38","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=44076"},"modified":"2023-04-24T14:09:38","modified_gmt":"2023-04-24T06:09:38","slug":"gcc-command","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/gcc-command.html","title":{"rendered":"\u5f88\u6709\u7528\u7684 GCC \u547d\u4ee4\u884c\u9009\u9879"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\ngcc \u7f16\u8bd1\u5668\u63d0\u4f9b\u4e86\u51e0\u4e4e\u6570\u4e0d\u6e05\u7684\u547d\u4ee4\u884c\u9009\u9879\u5217\u8868\u3002\u5f53\u7136\uff0c\u6ca1\u6709\u4eba\u4f1a\u4f7f\u7528\u8fc7\u6216\u8005\u7cbe\u901a\u5b83\u6240\u6709\u7684\u547d\u4ee4\u884c\u9009\u9879\uff0c\u4f46\u662f\u6709\u4e00\u4e9b\u547d\u4ee4\u884c\u9009\u9879\u662f\u6bcf\u4e00\u4e2a gcc \u7528\u6237\u90fd\u5e94\u8be5\u77e5\u9053\u7684 - \u5373\u4f7f\u4e0d\u662f\u5fc5\u987b\u77e5\u9053\u3002\u5b83\u4eec\u4e2d\u6709\u4e00\u4e9b\u5f88\u5e38\u7528\uff0c\u5176\u4ed6\u4e00\u4e9b\u4e0d\u592a\u5e38\u7528\uff0c\u4f46\u4e0d\u5e38\u7528\u5e76\u4e0d\u610f\u5473\u7740\u5b83\u4eec\u7684\u7528\u5904\u6ca1\u524d\u8005\u5927\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728\u8fd9\u4e2a\u7cfb\u5217\u7684\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u96c6\u4e2d\u4e8e\u4e00\u4e9b\u4e0d\u5e38\u7528\u4f46\u662f\u5f88\u6709\u7528\u7684 gcc \u547d\u4ee4\u884c\u9009\u9879\uff0c\u5728\u7b2c\u4e00\u8282\u5df2\u7ecf\u8bb2\u5230\u51e0\u4e2a\u8fd9\u6837\u7684\u547d\u4ee4\u884c\u9009\u9879\u3002<\/p>\n

\u4e0d\u77e5\u9053\u4f60\u662f\u5426\u80fd\u591f\u56de\u60f3\u8d77\uff0c\u5728\u8fd9\u4e2a\u7cfb\u5217\u6559\u7a0b\u7684\u7b2c\u4e00\u90e8\u5206\u7684\u5f00\u59cb\uff0c\u6211\u7b80\u8981\u7684\u63d0\u5230\u4e86\u5f00\u53d1\u8005\u4eec\u901a\u5e38\u7528\u6765\u751f\u6210\u8b66\u544a\u7684-Wall<\/span> \u9009\u9879\uff0c\u5e76\u4e0d\u5305\u62ec\u4e00\u4e9b\u7279\u6b8a\u7684\u8b66\u544a\u3002\u5982\u679c\u4f60\u4e0d\u4e86\u89e3\u8fd9\u4e9b\u7279\u6b8a\u8b66\u544a\uff0c\u5e76\u4e14\u4e0d\u77e5\u9053\u5982\u4f55\u751f\u6210\u5b83\u4eec\uff0c\u4e0d\u7528\u62c5\u5fc3\uff0c\u6211\u5c06\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u8be6\u7ec6\u8bb2\u89e3\u5173\u4e8e\u5b83\u4eec\u6240\u6709\u7684\u7ec6\u8282\u3002<\/p>\n

\u9664\u6b64\u4ee5\u5916\uff0c\u8fd9\u7bc7\u6587\u7ae0\u4e5f\u5c06\u6d89\u53ca\u4e0e\u6d6e\u70b9\u503c\u76f8\u5173\u7684 gcc \u8b66\u544a\u9009\u9879\uff0c\u4ee5\u53ca\u5728 gcc \u547d\u4ee4\u884c\u9009\u9879\u5217\u8868\u53d8\u5f97\u5f88\u5927\u7684\u65f6\u5019\u5982\u4f55\u66f4\u597d\u7684\u7ba1\u7406\u5b83\u4eec\u3002<\/p>\n

\u5728\u7ee7\u7eed\u4e4b\u524d\uff0c\u8bf7\u8bb0\u4f4f\uff0c\u8fd9\u4e2a\u6559\u7a0b\u4e2d\u7684\u6240\u6709\u4f8b\u5b50\u3001\u547d\u4ee4\u548c\u6307\u4ee4\u90fd\u5df2\u5728 Ubuntu 16.04 LTS \u64cd\u4f5c\u7cfb\u7edf\u548c gcc 5.4.0 \u4e0a\u6d4b\u8bd5\u8fc7\u3002<\/p>\n

\"\"<\/p>\n

\u751f\u6210 -Wall \u9009\u9879\u4e0d\u5305\u62ec\u7684\u8b66\u544a<\/strong><\/div>\n

\u5c3d\u7ba1 gcc \u7f16\u8bd1\u5668\u7684 -Wall<\/span>\u9009\u9879\u6db5\u76d6\u4e86\u7edd\u5927\u591a\u6570\u8b66\u544a\u6807\u8bb0\uff0c\u4f9d\u7136\u6709\u4e00\u4e9b\u8b66\u544a\u4e0d\u80fd\u751f\u6210\u3002\u4e3a\u4e86\u751f\u6210\u5b83\u4eec\uff0c\u8bf7\u4f7f\u7528 -Wextra<\/span>\u9009\u9879\u3002<\/p>\n

\u6bd4\u5982\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n

#include <stdio.h>\r\n#include <stdlib.h>\r\nint main()\r\n{\r\n    int i=0;\r\n    \/* ...\r\n       some code here \r\n       ...\r\n    *\/\r\n\r\n    if(i);\r\n        return 1;\r\n     return 0; \r\n}\r\n<\/pre>\n

\u6211\u4e0d\u5c0f\u5fc3\u5728 if<\/span> \u6761\u4ef6\u540e\u9762\u591a\u6253\u4e86\u4e00\u4e2a\u5206\u53f7\u3002\u73b0\u5728\uff0c\u5982\u679c\u4f7f\u7528\u4e0b\u9762\u7684 gcc \u547d\u4ee4\u6765\u8fdb\u884c\u7f16\u8bd1\uff0c\u4e0d\u4f1a\u751f\u6210\u4efb\u4f55\u8b66\u544a\u3002
\ngcc -Wall test.c -o test<\/span><\/p>\n

\u4f46\u662f\u5982\u679c\u540c\u65f6\u4f7f\u7528-Wextra<\/span> \u9009\u9879\u6765\u8fdb\u884c\u7f16\u8bd1\uff1agcc -Wall -Wextra test.c -o test<\/span>
\n\u4f1a\u751f\u6210\u4e0b\u9762\u8fd9\u6837\u4e00\u4e2a\u8b66\u544a\uff1a<\/p>\n

test.c: In function \u2018main\u2019:\r\ntest.c:10:8: warning: suggest braces around empty body in an \u2018if\u2019 statement\r\n[-Wempty-body] if(i);\r\n<\/pre>\n

\u4ece\u4e0a\u9762\u7684\u8b66\u544a\u6e05\u695a\u7684\u770b\u5230\uff0c-Wextra<\/span> \u9009\u9879\u4ece\u5185\u90e8\u542f\u7528\u4e86-Wempty-body<\/span> \u9009\u9879\uff0c\u4ece\u800c\u53ef\u4ee5\u68c0\u6d4b\u53ef\u7591\u4ee3\u7801\u5e76\u751f\u6210\u8b66\u544a\u3002\u4e0b\u9762\u662f\u8fd9\u4e2a\u9009\u9879\u542f\u7528\u7684\u5168\u90e8\u8b66\u544a\u6807\u8bb0\u3002<\/p>\n

-Wclobbered<\/span>\r\n-Wempty-body<\/span>\r\n-Wignored-qualifiers<\/span>\r\n-Wmissing-field-initializers<\/span>\r\n-Wmissing-parameter-type<\/span>\uff08\u4ec5\u9488\u5bf9 C \u8bed\u8a00\uff09\r\n-Wold-style-declaration<\/span>\uff08\u4ec5\u9488\u5bf9 C \u8bed\u8a00\uff09\r\n-Woverride-init<\/span>\r\n-Wsign-compare<\/span>\r\n-Wtype-limits<\/span>\r\n-Wuninitialized<\/span>\r\n-Wunused-parameter<\/span>\uff08\u53ea\u6709\u548c-Wunused<\/span> \u6216 -Wall<\/span> \u9009\u9879\u4f7f\u7528\u65f6\u624d\u4f1a\u542f\u7528\uff09\r\n-Wunused-but-set-parameter<\/span> (\u53ea\u6709\u548c-Wunused<\/span>\u6216-Wall<\/span> \u9009\u9879\u4f7f\u7528\u65f6\u624d\u4f1a\u751f\u6210\uff09\r\n<\/pre>\n

\u5982\u679c\u60f3\u5bf9\u4e0a\u9762\u6240\u63d0\u5230\u7684\u6807\u8bb0\u6709\u66f4\u8fdb\u4e00\u6b65\u7684\u4e86\u89e3\uff0c\u8bf7\u67e5\u770b gcc \u624b\u518c\u3002<\/p>\n

\u6b64\u5916\uff0c\u9047\u5230\u4e0b\u9762\u8fd9\u4e9b\u60c5\u51b5\uff0c-Wextra<\/span> \u9009\u9879\u4e5f\u4f1a\u751f\u6210\u8b66\u544a\uff1a<\/p>\n

\u4e00\u4e2a\u6307\u9488\u548c\u6574\u6570 0<\/span> \u8fdb\u884c< <\/span>, < =<\/span>\uff0c > <\/span>\uff0c \u6216 >=<\/span> \u6bd4\u8f83\r\n<\/pre>\n
\uff08\u4ec5 C++\uff09\u4e00\u4e2a\u679a\u4e3e\u7c7b\u578b\u548c\u4e00\u4e2a\u975e\u679a\u4e3e\u7c7b\u578b\u540c\u65f6\u51fa\u73b0\u5728\u4e00\u4e2a\u6761\u4ef6\u8868\u8fbe\u5f0f\u4e2d\r\n\uff08\u4ec5 C++\uff09\u6709\u6b67\u4e49\u7684\u865a\u62df\u57fa\u5e95\r\n\uff08\u4ec5 C++\uff09\u5bc4\u5b58\u5668\u7c7b\u578b\u7684\u6570\u7ec4\u52a0\u4e0b\u6807\r\n\uff08\u4ec5 C++\uff09\u5bf9\u5bc4\u5b58\u5668\u7c7b\u578b\u7684\u53d8\u91cf\u8fdb\u884c\u53d6\u5740\r\n\uff08\u4ec5 C++\uff09\u57fa\u7c7b\u6ca1\u6709\u5728\u6d3e\u751f\u7c7b\u7684\u590d\u5236\u6784\u5efa\u51fd\u6570\u4e2d\u8fdb\u884c\u521d\u59cb\u5316<\/pre>\n
\u6d6e\u70b9\u503c\u7684\u7b49\u503c\u6bd4\u8f83\u65f6\u751f\u6210\u8b66\u544a<\/strong><\/div>\n

\u4f60\u53ef\u80fd\u5df2\u7ecf\u77e5\u9053\uff0c\u6d6e\u70b9\u503c\u4e0d\u80fd\u8fdb\u884c\u786e\u5207\u7684\u76f8\u7b49\u6bd4\u8f83\uff08\u5982\u679c\u4e0d\u77e5\u9053\uff0c\u8bf7\u9605\u8bfb\u4e0e\u6d6e\u70b9\u503c\u6bd4\u8f83\u76f8\u5173\u7684 FAQ)\u3002\u4f46\u662f\u5982\u679c\u4f60\u4e0d\u5c0f\u5fc3\u8fd9\u6837\u505a\u4e86\uff0c gcc \u7f16\u8bd1\u5668\u662f\u5426\u4f1a\u62a5\u51fa\u9519\u8bef\u6216\u8b66\u544a\uff1f\u8ba9\u6211\u4eec\u6765\u6d4b\u8bd5\u4e00\u4e0b\uff1a<\/p>\n

\u4e0b\u9762\u662f\u4e00\u6bb5\u4f7f\u7528 ==<\/span> \u8fd0\u7b97\u7b26\u8fdb\u884c\u6d6e\u70b9\u503c\u6bd4\u8f83\u7684\u4ee3\u7801\uff1a<\/p>\n

#include<stdio.h>\r\n\r\nvoid compare(float x, float y)\r\n{\r\n    if(x == y)\r\n    {\r\n        printf(\"\/n EQUAL \/n\");\r\n    }\r\n}\r\n\r\nint main(void)\r\n{\r\n    compare(1.234, 1.56789);\r\n\r\n    return 0; \r\n}\r\n<\/pre>\n

\u4f7f\u7528\u4e0b\u9762\u7684 gcc \u547d\u4ee4\uff08\u5305\u542b -Wall<\/span> \u548c -Wextra<\/span> \u9009\u9879\uff09\u6765\u7f16\u8bd1\u8fd9\u6bb5\u4ee3\u7801\uff1a<\/p>\n

gcc -Wall -Wextra test.c -o test\r\n<\/pre>\n

\u9057\u61be\u7684\u662f\uff0c\u4e0a\u9762\u7684\u547d\u4ee4\u6ca1\u6709\u751f\u6210\u4efb\u4f55\u4e0e\u6d6e\u70b9\u503c\u6bd4\u8f83\u76f8\u5173\u7684\u8b66\u544a\u3002\u5feb\u901f\u770b\u4e00\u4e0b gcc \u624b\u518c\uff0c\u5728\u8fd9\u79cd\u60c5\u5f62\u4e0b\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u4e13\u7528\u7684 -Wfloat-equal<\/span> \u9009\u9879\u3002
\n\u4e0b\u9762\u662f\u5305\u542b\u8fd9\u4e2a\u9009\u9879\u7684\u547d\u4ee4\uff1a<\/p>\n

gcc -Wall -Wextra -Wfloat-equal test.c -o test\r\n<\/pre>\n

\u4e0b\u9762\u662f\u8fd9\u6761\u547d\u4ee4\u4ea7\u751f\u7684\u8f93\u51fa\uff1a<\/p>\n

test.c: In function \u2018compare\u2019:\r\ntest.c:5:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]\r\n if(x == y)\r\n<\/pre>\n

\u6b63\u5982\u4e0a\u9762\u4f60\u6240\u770b\u5230\u7684\u8f93\u51fa\u90a3\u6837\uff0c-Wfloat-equal<\/span> \u9009\u9879\u4f1a\u5f3a\u5236 gcc \u7f16\u8bd1\u5668\u751f\u6210\u4e00\u4e2a\u4e0e\u6d6e\u70b9\u503c\u6bd4\u8f83\u76f8\u5173\u7684\u8b66\u544a\u3002<\/p>\n

\u8fd9\u513f\u662fgcc \u624b\u518c\u5173\u4e8e\u8fd9\u4e00\u9009\u9879\u7684\u8bf4\u660e\uff1a<\/p>\n

\u8fd9\u80cc\u540e\u7684\u60f3\u6cd5\u662f\uff0c\u6709\u65f6\uff0c\u5bf9\u7a0b\u5e8f\u5458\u6765\u8bf4\uff0c\u628a\u6d6e\u70b9\u503c\u8003\u8651\u6210\u8fd1\u4f3c\u65e0\u9650\u7cbe\u786e\u7684\u5b9e\u6570\u662f\u65b9\u4fbf\u7684\u3002\u5982\u679c\u4f60\u8fd9\u6837\u505a\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u901a\u8fc7\u5206\u6790\u4ee3\u7801\uff0c\u6216\u8005\u5176\u4ed6\u65b9\u5f0f\uff0c\u7b97\u51fa\u8fd9\u79cd\u8ba1\u7b97\u65b9\u5f0f\u5f15\u5165\u7684\u6700\u5927\u6216\u53ef\u80fd\u7684\u6700\u5927\u8bef\u5dee\uff0c\u7136\u540e\u8fdb\u884c\u6bd4\u8f83\u65f6\uff08\u4ee5\u53ca\u4ea7\u751f\u8f93\u51fa\u65f6\uff0c\u4e0d\u8fc7\u8fd9\u662f\u4e00\u4e2a\u4e0d\u540c\u7684\u95ee\u9898\uff09\u5141\u8bb8\u8fd9\u4e2a\u8bef\u5dee\u3002\u7279\u522b\u8981\u6307\u51fa\uff0c\u4e0d\u5e94\u8be5\u68c0\u67e5\u662f\u5426\u76f8\u7b49\uff0c\u800c\u5e94\u8be5\u68c0\u67e5\u4e24\u4e2a\u503c\u662f\u5426\u53ef\u80fd\u51fa\u73b0\u8303\u56f4\u91cd\u53e0\uff1b\u8fd9\u662f\u7528\u5173\u7cfb\u8fd0\u7b97\u7b26\u6765\u505a\u7684\uff0c\u6240\u4ee5\u7b49\u503c\u6bd4\u8f83\u53ef\u80fd\u662f\u641e\u9519\u4e86\u3002<\/p><\/blockquote>\n

\u5982\u4f55\u66f4\u597d\u7684\u7ba1\u7406 gcc \u547d\u4ee4\u884c\u9009\u9879<\/strong><\/div>\n

\u5982\u679c\u5728\u4f60\u4f7f\u7528\u7684 gcc \u547d\u4ee4\u4e2d\uff0c\u547d\u4ee4\u884c\u9009\u9879\u5217\u8868\u53d8\u5f97\u5f88\u5927\u800c\u4e14\u5f88\u96be\u7ba1\u7406\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u628a\u5b83\u653e\u5728\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u628a\u6587\u4ef6\u540d\u4f5c\u4e3a gcc \u547d\u4ee4\u7684\u4e00\u4e2a\u53c2\u6570\u3002\u4e4b\u540e\uff0c\u4f60\u5fc5\u987b\u4f7f\u7528@file<\/span> \u547d\u4ee4\u884c\u9009\u9879\u3002<\/p>\n

\u6bd4\u5982\uff0c\u4e0b\u9762\u8fd9\u884c\u662f\u4f60\u7684 gcc \u547d\u4ee4\uff1a
\ngcc -Wall -Wextra -Wfloat-equal test.c -o test<\/span><\/p>\n

\u7136\u540e\u4f60\u53ef\u4ee5\u628a\u8fd9\u4e09\u4e2a\u548c\u8b66\u544a\u76f8\u5173\u7684\u9009\u9879\u653e\u5230\u4e00\u4e2a\u6587\u4ef6\u91cc\uff0c\u6587\u4ef6\u540d\u53eb\u505a gcc-options<\/span>\uff1a
\n$ cat gcc-options&nbsp;
\n-Wall -Wextra -Wfloat-equal<\/span>
\n\u8fd9\u6837\uff0c\u4f60\u7684 gcc \u547d\u4ee4\u4f1a\u53d8\u5f97\u66f4\u52a0\u7b80\u6d01\u5e76\u4e14\u6613\u4e8e\u7ba1\u7406\uff1a
\ngcc @gcc-options test.c -o test<\/span><\/p>\n

\u4e0b\u9762\u662f gcc \u624b\u518c\u5173\u4e8e @file<\/span> \u7684\u8bf4\u660e\uff1a<\/p>\n

\u4ece\u6587\u4ef6\u4e2d\u8bfb\u53d6\u547d\u4ee4\u884c\u9009\u9879\u3002\u8bfb\u53d6\u5230\u7684\u9009\u9879\u968f\u4e4b\u88ab\u63d2\u5165\u5230\u539f\u59cb @file<\/span> \u9009\u9879\u6240\u5728\u7684\u4f4d\u7f6e\u3002\u5982\u679c\u6587\u4ef6\u4e0d\u5b58\u5728\u6216\u8005\u65e0\u6cd5\u8bfb\u53d6\uff0c\u90a3\u4e48\u8fd9\u4e2a\u9009\u9879\u5c31\u4f1a\u88ab\u5f53\u6210\u6587\u5b57\u5904\u7406\uff0c\u800c\u4e0d\u4f1a\u88ab\u5220\u9664\u3002<\/p>\n

\u6587\u4ef6\u4e2d\u7684\u9009\u9879\u4ee5\u7a7a\u683c\u5206\u9694\u3002\u9009\u9879\u4e2d\u5305\u542b\u7a7a\u767d\u5b57\u7b26\u7684\u8bdd\uff0c\u53ef\u4ee5\u7528\u4e00\u4e2a\u7531\u5355\u5f15\u53f7\u6216\u53cc\u5f15\u53f7\u5305\u56f4\u5b8c\u6574\u9009\u9879\u3002\u4efb\u4f55\u5b57\u7b26\uff08\u5305\u62ec\u53cd\u659c\u6760: '\/'\uff09\u5747\u53ef\u80fd\u901a\u8fc7\u4e00\u4e2a '\/' \u524d\u7f00\u800c\u5305\u542b\u5728\u4e00\u4e2a\u9009\u9879\u4e2d\u3002\u5982\u679c\u8be5\u6587\u4ef6\u672c\u8eab\u5305\u542b\u989d\u5916\u7684 @file<\/span>\u9009\u9879\uff0c\u90a3\u4e48\u5b83\u5c06\u4f1a\u88ab\u9012\u5f52\u5904\u7406\u3002<\/p><\/blockquote>\n

\u7ed3\u8bba<\/strong><\/div>\n

\u5728\u8fd9\u4e2a\u7cfb\u5217\u7684\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u4e00\u5171\u8bb2\u89e3\u4e86 5 \u4e2a\u4e0d\u5e38\u89c1\u4f46\u662f\u5f88\u6709\u7528\u7684 gcc \u547d\u4ee4\u884c\u9009\u9879\uff1a<\/p>\n

-Save-temps<\/span>\r\n-g<\/span>\r\n-Wextra<\/span>\r\n-Wfloat-equal<\/span>\r\n\r\n@file<\/span><\/pre>\n

\u8bb0\u5f97\u82b1\u65f6\u95f4\u7ec3\u4e60\u4f7f\u7528\u6bcf\u4e00\u4e2a\u9009\u9879\uff0c\u540c\u65f6\u4e0d\u8981\u5fd8\u4e86\u6d4f\u89c8 gcc \u624b\u518c\u4e0a\u9762\u6240\u63d0\u4f9b\u7684\u5173\u4e8e\u5b83\u4eec\u7684\u5168\u90e8\u7ec6\u8282\u3002<\/p>\n

\u4f60\u662f\u5426\u77e5\u9053\u6216\u4f7f\u7528\u5176\u4ed6\u50cf\u8fd9\u6837\u6709\u7528\u7684 gcc \u547d\u4ee4\u884c\u9009\u9879\uff0c\u5e76\u5e0c\u671b\u628a\u5b83\u4eec\u5728\u5168\u4e16\u754c\u8303\u56f4\u5185\u5206\u4eab\uff1f\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u533a\u7559\u4e0b\u6240\u6709\u7684\u7ec6\u8282\u3002<\/p>\n


\n

via: https:\/\/www.howtoforge.com\/tutorial\/uncommon-but-useful-gcc-command-line-options-2\/<\/a><\/p>\n

\u4f5c\u8005\uff1aAnsh \u8bd1\u8005\uff1aucasFL \u6821\u5bf9\uff1ajasminepeng<\/p>\n

\u672c\u6587\u7531 LCTT \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8032-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/gcc-command.html<\/a>\u7f16\u8f91\u5458\uff1a\u90dd\u5927\u53d1\uff0c\u5ba1\u6838\u5458\uff1a\u51af\u742a<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

gcc \u7f16\u8bd1\u5668\u63d0\u4f9b\u4e86\u51e0\u4e4e\u6570\u4e0d\u6e05\u7684\u547d\u4ee4\u884c\u9009\u9879\u5217\u8868\u3002\u5f53\u7136\uff0c\u6ca1\u6709\u4eba\u4f1a\u4f7f\u7528\u8fc7\u6216\u8005\u7cbe\u901a\u5b83\u6240\u6709\u7684\u547d\u4ee4\u884c\u9009\u9879\uff0c\u4f46\u662f\u6709\u4e00\u4e9b\u547d\u4ee4\u884c\u9009\u9879\u662f\u6bcf\u4e00\u4e2a gcc \u7528\u6237\u90fd\u5e94\u8be5\u77e5\u9053\u7684 – \u5373\u4f7f\u4e0d\u662f\u5fc5\u987b\u77e5\u9053\u3002\u5b83\u4eec\u4e2d\u6709\u4e00\u4e9b\u5f88\u5e38\u7528\uff0c\u5176\u4ed6\u4e00\u4e9b\u4e0d\u592a\u5e38\u7528\uff0c\u4f46\u4e0d\u5e38\u7528\u5e76\u4e0d\u610f\u5473\u7740\u5b83\u4eec\u7684\u7528\u5904\u6ca1\u524d\u8005\u5927\u3002<\/p>\n","protected":false},"author":63,"featured_media":46791,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-44076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/44076","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=44076"}],"version-history":[{"count":43,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/44076\/revisions"}],"predecessor-version":[{"id":270543,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/44076\/revisions\/270543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/46791"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=44076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=44076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=44076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}