{"id":3551,"date":"2017-08-18T22:19:15","date_gmt":"2017-08-18T14:19:15","guid":{"rendered":"https:\/\/ixyzero.com\/blog\/?p=3551"},"modified":"2017-08-18T22:19:15","modified_gmt":"2017-08-18T14:19:15","slug":"gcc%e7%9a%84%e5%b8%b8%e7%94%a8%e7%bc%96%e8%af%91%e9%80%89%e9%a1%b9","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/3551.html","title":{"rendered":"Gcc\u7684\u5e38\u7528\u7f16\u8bd1\u9009\u9879"},"content":{"rendered":"<p>=Start=<\/p>\n<h4 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u7f18\u7531\uff1a\">\u7f18\u7531\uff1a<\/h4>\n<p>\u5b66\u4e60\u3001\u63d0\u9ad8\u9700\u8981<\/p>\n<h4 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u6b63\u6587\uff1a\">\u6b63\u6587\uff1a<\/h4>\n<h5 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u53c2\u8003\u89e3\u7b54\uff1a\">\u53c2\u8003\u89e3\u7b54\uff1a<\/h5>\n<p>==<\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u603b\u4f53\u9009\u9879(OverallOption)\">\u603b\u4f53\u9009\u9879(Overall Option)<\/h6>\n<p><code>-c -S -E -o file -pipe -v -x language<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u8bed\u8a00\u9009\u9879(LanguageOption)\">\u8bed\u8a00\u9009\u9879(Language Option)<\/h6>\n<p><code>-ansi -fall-virtual -fcond-mismatch -fdollars-in-identifiers -fenum-int-equiv -fexternal-templates -fno-asm -fno-builtin -fhosted -fno-hosted -ffreestanding -fno-freestanding -fno-strict-prototype -fsigned-bitfields -fsigned-char -fthis-is-variable -funsigned-bitfields -funsigned-char -fwritable-strings -traditional -traditional-cpp -trigraphs<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u8b66\u544a\u9009\u9879(WarningOption)\">\u8b66\u544a\u9009\u9879(Warning Option)<\/h6>\n<p><code>-fsyntax-only -pedantic -pedantic-errors -w -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscript -Wcomment -Wconversion -Wenum-clash -Werror -Wformat -Wid-clash-len -Wimplicit -Wimplicit-int -Wimplicit-function-declaration -Winline -Wlong-long -Wmain -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-import -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wstrict-prototypes -Wswitch -Wtemplate-debugging -Wtraditional -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u8c03\u8bd5\u9009\u9879(DebuggingOption)\">\u8c03\u8bd5\u9009\u9879(Debugging Option)<\/h6>\n<p><code>-a -dletters -fpretend-float -g -glevel -gcoff -gxcoff -gxcoff+ -gdwarf -gdwarf+ -gstabs -gstabs+ -ggdb -p -pg -save-temps -print-file-name=library -print-libgcc-file-name -print-prog-name=program<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u4f18\u5316\u9009\u9879(OptimizationOption)\">\u4f18\u5316\u9009\u9879(Optimization Option)<\/h6>\n<p><code>-fcaller-saves -fcse-follow-jumps -fcse-skip-blocks -fdelayed-branch -felide-constructors -fexpensive-optimizations -ffast-math -ffloat-store -fforce-addr -fforce-mem -finline-functions -fkeep-inline-functions -fmemoize-lookups -fno-default-inline -fno-defer-pop -fno-function-cse -fno-inline -fno-peephole -fomit-frame-pointer -frerun-cse-after-loop -fschedule-insns -fschedule-insns2 -fstrength-reduce -fthread-jumps -funroll-all-loops -funroll-loops -O -O2 -O3<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u9884\u5904\u7406\u5668\u9009\u9879(PreprocessorOption)\">\u9884\u5904\u7406\u5668\u9009\u9879(Preprocessor Option)<\/h6>\n<p><code>-Aassertion -C -dD -dM -dN -Dmacro[=defn] -E -H -idirafter dir -include file -imacros file -iprefix file -iwithprefix dir -M -MD -MM -MMD -nostdinc -P -Umacro -undef<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u6c47\u7f16\u5668\u9009\u9879(AssemblerOption)\">\u6c47\u7f16\u5668\u9009\u9879(Assembler Option)<\/h6>\n<p><code>-Wa,option<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u8fde\u63a5\u5668\u9009\u9879(LinkerOption)\">\u8fde\u63a5\u5668\u9009\u9879(Linker Option)<\/h6>\n<p><code>-llibrary -nostartfiles -nostdlib -static -shared -symbolic -Xlinker option -Wl,option -u symbol<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u76ee\u5f55\u9009\u9879(DirectoryOption)\">\u76ee\u5f55\u9009\u9879(Directory Option)<\/h6>\n<p><code>-Bprefix -Idir -I- -Ldir<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u76ee\u6807\u673a\u9009\u9879(TargetOption)\">\u76ee\u6807\u673a\u9009\u9879(Target Option)<\/h6>\n<p><code>-b machine -V version<\/code><\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u914d\u7f6e\u76f8\u5173\u9009\u9879(ConfigurationDependentOption)\">\u914d\u7f6e\u76f8\u5173\u9009\u9879(Configuration Dependent Option)<\/h6>\n<p>&#8230;<\/p>\n<h6 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u4ee3\u7801\u751f\u6210\u9009\u9879(CodeGenerationOption)\">\u4ee3\u7801\u751f\u6210\u9009\u9879(Code Generation Option)<\/h6>\n<p><code>-fcall-saved-reg -fcall-used-reg -ffixed-reg -finhibit-size-directive -fnonnull-objects -fno-common -fno-ident -fno-gnu-linker -fpcc-struct-return -fpic -fPIC -freg-struct-return -fshared-data -fshort-enums -fshort-double -fvolatile -fvolatile-global -fverbose-asm<\/code><\/p>\n<p>==<\/p>\n<p>\u4e00\u4e9b\u5e38\u7528\u9009\u9879\u6458\u5f55\uff1a<\/p>\n<pre class=\"lang:default decode:true\">-llibrary\r\n\u8fde\u63a5\u540d\u4e3alibrary\u7684\u5e93\u6587\u4ef6.\r\n\u8fde\u63a5\u5668\u5728\u6807\u51c6\u641c\u7d22\u76ee\u5f55\u4e2d\u5bfb\u627e\u8fd9\u4e2a\u5e93\u6587\u4ef6,\u5e93\u6587\u4ef6\u7684\u771f\u6b63\u540d\u5b57\u662f`liblibrary.a'.\u8fde\u63a5\u5668\u4f1a \u5f53\u505a\u6587\u4ef6\u540d\u5f97\u5230\u51c6\u786e\u8bf4\u660e\u4e00\u6837\u5f15\u7528\u8fd9\u4e2a\u6587\u4ef6.\r\n\u641c\u7d22\u76ee\u5f55\u9664\u4e86\u4e00\u4e9b\u7cfb\u7edf\u6807\u51c6\u76ee\u5f55\u5916,\u8fd8\u5305\u62ec\u7528\u6237\u4ee5`-L'\u9009\u9879\u6307\u5b9a\u7684\u8def\u5f84.\r\n\u4e00\u822c\u8bf4\u6765\u7528\u8fd9\u4e2a\u65b9\u6cd5\u627e\u5230\u7684\u6587\u4ef6\u662f\u5e93\u6587\u4ef6---\u5373\u7531\u76ee\u6807\u6587\u4ef6\u7ec4\u6210\u7684\u5f52\u6863\u6587\u4ef6(archive file).\u8fde\u63a5\u5668\u5904\u7406\u5f52\u6863\u6587\u4ef6\u7684 \u65b9\u6cd5\u662f:\u626b\u63cf\u5f52\u6863\u6587\u4ef6,\u5bfb\u627e\u67d0\u4e9b\u6210\u5458,\u8fd9\u4e9b\u6210\u5458\u7684\u7b26\u53f7\u76ee\u524d\u5df2\u88ab\u5f15\u7528,\u4e0d\u8fc7\u8fd8\u6ca1\u6709\u88ab\u5b9a\u4e49.\u4f46\u662f,\u5982\u679c\u8fde\u63a5\u5668\u627e\u5230\u666e\u901a\u7684 \u76ee\u6807\u6587\u4ef6,\u800c\u4e0d\u662f\u5e93\u6587\u4ef6,\u5c31\u628a\u8fd9\u4e2a\u76ee\u6807\u6587\u4ef6\u6309\u5e73\u5e38\u65b9\u5f0f\u8fde\u63a5\u8fdb\u6765.\u6307\u5b9a`-l'\u9009\u9879\u548c\u6307\u5b9a\u6587\u4ef6\u540d\u7684\u552f\u4e00\u533a\u522b\u662f, `-l\u9009\u9879\u7528`lib'\u548c`.a'\u628alibrary\u5305\u88f9\u8d77\u6765,\u800c\u4e14\u641c\u7d22\u4e00\u4e9b\u76ee\u5f55.\r\n\r\n##\r\n\u4e0b\u5217\u9009\u9879\u6307\u5b9a\u641c\u7d22\u8def\u5f84,\u7528\u4e8e\u67e5\u627e\u5934\u6587\u4ef6,\u5e93\u6587\u4ef6,\u6216\u7f16\u8bd1\u5668\u7684\u67d0\u4e9b\u6210\u5458:\r\n\r\n-Idir\r\n\u5728\u5934\u6587\u4ef6\u7684\u641c\u7d22\u8def\u5f84\u5217\u8868\u4e2d\u6dfb\u52a0dir \u76ee\u5f55.\r\n\r\n-I-\r\n\u4efb\u4f55\u5728`-I-'\u524d\u9762\u7528`-I'\u9009\u9879\u6307\u5b9a\u7684\u641c\u7d22\u8def\u5f84\u53ea\u9002\u7528\u4e8e`#include \"file\"'\u8fd9\u79cd\u60c5\u51b5;\u4ed6\u4eec\u4e0d\u80fd\u7528\u6765\u641c\u7d22`#include &lt;file&gt;'\u5305\u542b\u7684\u5934\u6587\u4ef6.\r\n\u5982\u679c\u7528`-I'\u9009\u9879\u6307\u5b9a\u7684\u641c\u7d22\u8def\u5f84\u4f4d\u4e8e`-I-'\u9009\u9879\u540e\u9762,\u5c31\u53ef\u4ee5\u5728\u8fd9\u4e9b\u8def\u5f84\u4e2d\u641c\u7d22\u6240\u6709\u7684 `#include'\u6307\u4ee4. (\u4e00\u822c\u8bf4\u6765-I\u9009\u9879\u5c31\u662f\u8fd9\u4e48\u7528\u7684.)\r\n\u8fd8\u6709, `-I-'\u9009\u9879\u80fd\u591f\u963b\u6b62\u5f53\u524d\u76ee\u5f55(\u5b58\u653e\u5f53\u524d\u8f93\u5165\u6587\u4ef6\u7684\u5730\u65b9)\u6210\u4e3a\u641c\u7d22`#include \"file\"'\u7684\u7b2c\u4e00\u9009\u62e9.\u6ca1\u6709\u529e\u6cd5\u514b\u670d`-I-'\u9009\u9879\u7684\u8fd9\u4e2a\u6548\u5e94.\u4f60\u53ef\u4ee5\u6307\u5b9a `-I.'\u641c\u7d22\u90a3\u4e2a\u76ee\u5f55,\u5b83\u5728\u8c03\u7528\u7f16\u8bd1\u5668\u65f6\u662f\u5f53\u524d\u76ee\u5f55.\u8fd9\u548c\u9884\u5904\u7406\u5668\u7684\u9ed8\u8ba4\u884c\u4e3a\u4e0d\u5b8c\u5168\u4e00\u6837,\u4f46\u662f\u7ed3\u679c\u901a\u5e38 \u4ee4\u4eba\u6ee1\u610f.\r\n`-I-'\u4e0d\u5f71\u54cd\u4f7f\u7528\u7cfb\u7edf\u6807\u51c6\u76ee\u5f55,\u56e0\u6b64, `-I-'\u548c`-nostdinc'\u662f\u4e0d\u540c\u7684\u9009\u9879.\r\n\r\n-Ldir\r\n\u5728`-l'\u9009\u9879\u7684\u641c\u7d22\u8def\u5f84\u5217\u8868\u4e2d\u6dfb\u52a0dir\u76ee\u5f55.\r\n\r\n-Bprefix\r\n\u8fd9\u4e2a\u9009\u9879\u6307\u51fa\u5728\u4f55\u5904\u5bfb\u627e\u53ef\u6267\u884c\u6587\u4ef6,\u5e93\u6587\u4ef6,\u4ee5\u53ca\u7f16\u8bd1\u5668\u81ea\u5df1\u7684\u6570\u636e\u6587\u4ef6.\r\n##\r\n\r\n-Wformat\r\n\u68c0\u67e5\u5bf9printf\u548cscanf\u7b49\u51fd\u6570\u7684\u8c03\u7528,\u786e\u8ba4\u5404\u4e2a\u53c2\u6570\u7c7b\u578b\u548c\u683c\u5f0f\u4e32\u4e2d\u7684\u4e00\u81f4.\r\n\r\n-Wall\r\n\u4f7fGCC\u4ea7\u751f\u5c3d\u53ef\u80fd\u591a\u7684\u8b66\u544a\u4fe1\u606f.\r\n\r\n-Werror\r\n\u89c6\u8b66\u544a\u4e3a\u9519\u8bef;\u51fa\u73b0\u4efb\u4f55\u8b66\u544a\u5373\u653e\u5f03\u7f16\u8bd1.\r\n\r\n-Dmacro\r\n\u5b9a\u4e49\u5b8fmacro,\u5b8f\u7684\u5185\u5bb9\u5b9a\u4e49\u4e3a\u5b57\u7b26\u4e32`1'.\r\n\r\n-Dmacro=defn\r\n\u5b9a\u4e49\u5b8fmacro\u7684\u5185\u5bb9\u4e3adefn.\u547d\u4ee4\u884c\u4e0a\u6240\u6709\u7684`-D'\u9009\u9879\u5728 `-U'\u9009\u9879\u4e4b\u524d\u5904\u7406.\r\n\r\n-ansi\r\n\u652f\u6301\u7b26\u5408ANSI\u6807\u51c6\u7684C\u7a0b\u5e8f.\r\n\u8fd9\u6837\u5c31\u4f1a\u5173\u95edGNU C\u4e2d\u67d0\u4e9b\u4e0d\u517c\u5bb9ANSI C\u7684\u7279\u6027,\u4f8b\u5982asm, inline\u548c typeof\u5173\u952e\u5b57,\u4ee5\u53ca\u8bf8\u5982unix\u548cvax\u8fd9\u4e9b\u8868\u660e\u5f53\u524d\u7cfb\u7edf\u7c7b\u578b\u7684\u9884\u5b9a\u4e49\u5b8f.\r\n\u4f7f\u7528`-ansi'\u9009\u9879\u4e0d\u4f1a\u81ea\u52a8\u62d2\u7edd\u7f16\u8bd1\u975eANSI\u7a0b\u5e8f,\u9664\u975e\u589e\u52a0`-pedantic'\u9009\u9879\u4f5c\u4e3a `-ansi'\u9009\u9879\u7684\u8865\u5145.\r\n\r\n-pedantic\r\n\u6b64\u7f16\u8bd1\u9009\u9879\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u88ab\u7f16\u8bd1\u7a0b\u5e8f\u4e0eANSI\/ISO C\u6807\u51c6\u7684\u5b8c\u5168\u517c\u5bb9\uff0c\u5b83\u4ec5\u4ec5\u53ea\u80fd\u7528\u6765\u5e2e\u52a9Linux\u7a0b\u5e8f\u5458\u79bb\u8fd9\u4e2a\u76ee\u6807\u8d8a\u6765\u8d8a\u8fd1\u3002\u6216\u8005\u6362\u53e5\u8bdd\u8bf4\uff0c-pedantic\u9009\u9879\u80fd\u591f\u5e2e\u52a9\u7a0b\u5e8f\u5458\u53d1\u73b0\u4e00\u4e9b\u4e0d\u7b26\u5408 ANSI\/ISO C\u6807\u51c6\u7684\u4ee3\u7801\uff0c\u4f46\u4e0d\u662f\u5168\u90e8\uff0c\u4e8b\u5b9e\u4e0a\u53ea\u6709ANSI\/ISO C\u8bed\u8a00\u6807\u51c6\u4e2d\u8981\u6c42\u8fdb\u884c\u7f16\u8bd1\u5668\u8bca\u65ad\u7684\u90a3\u4e9b\u60c5\u51b5\uff0c\u624d\u6709\u53ef\u80fd\u88abGCC\u53d1\u73b0\u5e76\u63d0\u51fa\u8b66\u544a\u3002\r\n\r\n-static\r\n\u5728\u652f\u6301\u52a8\u6001\u8fde\u63a5(dynamic linking)\u7684\u7cfb\u7edf\u4e0a,\u963b\u6b62\u8fde\u63a5\u5171\u4eab\u5e93.\u8be5\u9009\u9879\u5728\u5176\u4ed6\u7cfb\u7edf\u4e0a\u65e0\u6548.\r\n\r\n-shared\r\n\u751f\u6210\u4e00\u4e2a\u5171\u4eab\u76ee\u6807\u6587\u4ef6,\u4ed6\u53ef\u4ee5\u548c\u5176\u4ed6\u76ee\u6807\u6587\u4ef6\u8fde\u63a5\u4ea7\u751f\u53ef\u6267\u884c\u6587\u4ef6.\u53ea\u6709\u90e8\u5206\u7cfb\u7edf\u652f\u6301\u8be5\u9009\u9879.\r\n\r\n-g\r\n\u4ee5\u64cd\u4f5c\u7cfb\u7edf\u7684\u672c\u5730\u683c\u5f0f(stabs, COFF, XCOFF,\u6216DWARF).\u4ea7\u751f\u8c03\u8bd5\u4fe1\u606f. GDB\u80fd\u591f\u4f7f\u7528\u8fd9\u4e9b\u8c03\u8bd5\u4fe1\u606f.\r\n\r\n-ggdb\r\n\u4ee5\u672c\u5730\u683c\u5f0f(\u5982\u679c\u652f\u6301)\u8f93\u51fa\u8c03\u8bd5\u4fe1\u606f,\u5c3d\u53ef\u80fd\u5305\u62ecGDB\u6269\u5c55.\r\n\r\n-p\r\n\u4ea7\u751f\u989d\u5916\u4ee3\u7801,\u7528\u4e8e\u8f93\u51faprofile\u4fe1\u606f,\u4f9b\u5206\u6790\u7a0b\u5e8fprof\u4f7f\u7528.\r\n\r\n-pg\r\n\u4ea7\u751f\u989d\u5916\u4ee3\u7801,\u7528\u4e8e\u8f93\u51faprofile\u4fe1\u606f,\u4f9b\u5206\u6790\u7a0b\u5e8fgprof\u4f7f\u7528.\r\n\r\n-fpic\r\n\u5982\u679c\u652f\u6301\u8fd9\u79cd\u76ee\u6807\u673a,\u7f16\u8bd1\u5668\u5c31\u751f\u6210\u4f4d\u7f6e\u65e0\u5173\u76ee\u6807\u7801.\u9002\u7528\u4e8e\u5171\u4eab\u5e93(shared library).\r\n\r\n-fPIC\r\n\u5982\u679c\u652f\u6301\u8fd9\u79cd\u76ee\u6807\u673a,\u7f16\u8bd1\u5668\u5c31\u8f93\u51fa\u4f4d\u7f6e\u65e0\u5173\u76ee\u6807\u7801.\u9002\u7528\u4e8e\u52a8\u6001\u8fde\u63a5(dynamic linking),\u5373\u4f7f\u5206\u652f\u9700\u8981\u5927\u8303\u56f4 \u8f6c\u79fb.\r\n\r\n-v\r\n(\u5728\u6807\u51c6\u9519\u8bef)\u663e\u793a\u6267\u884c\u7f16\u8bd1\u9636\u6bb5\u7684\u547d\u4ee4.\u540c\u65f6\u663e\u793a\u7f16\u8bd1\u5668\u9a71\u52a8\u7a0b\u5e8f,\u9884\u5904\u7406\u5668,\u7f16\u8bd1\u5668\u7684\u7248\u672c\u53f7.<\/pre>\n<h5 id=\"Gcc\u7684\u4e00\u4e9b\u7f16\u8bd1\u9009\u9879\u5b66\u4e60-\u53c2\u8003\u94fe\u63a5\uff1a\">\u53c2\u8003\u94fe\u63a5\uff1a<\/h5>\n<p><span style=\"color: #ff0000;\"><strong>GNU GCC \u624b\u518c<\/strong><\/span><br \/>\n<a class=\"external-link\" href=\"http:\/\/www.shanghai.ws\/gnu\/gcc_1.htm\" rel=\"nofollow\">http:\/\/www.shanghai.ws\/gnu\/gcc_1.htm<\/a><\/p>\n<p>GCC\u57fa\u672c\u7528\u6cd5 #nice<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.woola.net\/detail\/2016-09-10-gcc-tips.html\" rel=\"nofollow\">http:\/\/www.woola.net\/detail\/2016-09-10-gcc-tips.html<\/a><\/p>\n<p>GCC\u7f16\u8bd1\u9009\u9879 #nice<br \/>\n<a class=\"external-link\" href=\"http:\/\/txgcwm.github.io\/blog\/2014\/06\/28\/gccbian-yi-xuan-xiang\/\" rel=\"nofollow\">http:\/\/txgcwm.github.io\/blog\/2014\/06\/28\/gccbian-yi-xuan-xiang\/<\/a><\/p>\n<p>GCC Command Options<br \/>\n<a class=\"external-link\" href=\"https:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Invoking-GCC.html\" rel=\"nofollow\">https:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Invoking-GCC.html<\/a><\/p>\n<p>GCC\u8b66\u544a\u9009\u9879\u4f8b\u89e3<br \/>\n<a class=\"external-link\" href=\"http:\/\/tonybai.com\/2006\/03\/14\/explain-gcc-warning-options-by-examples\/\" rel=\"nofollow\">http:\/\/tonybai.com\/2006\/03\/14\/explain-gcc-warning-options-by-examples\/<\/a><\/p>\n<p>gcc\u7f16\u8bd1\u5668\u5b66\u4e60\u8bb0\u5f55<br \/>\n<a class=\"external-link\" href=\"https:\/\/github.com\/guodongxiaren\/LinuxTool\/blob\/master\/gcc.md\" rel=\"nofollow\">https:\/\/github.com\/guodongxiaren\/LinuxTool\/blob\/master\/gcc.md<\/a><\/p>\n<p>[GCC\/GDB\/cygwin] gcc\u7f16\u8bd1\u9009\u9879<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.airmyth.com\/thread-1583-1-1.html\" rel=\"nofollow\">http:\/\/www.airmyth.com\/thread-1583-1-1.html<\/a><\/p>\n<p>gcc\u7684\u4f7f\u7528\u7b80\u4ecb\u4e0e\u547d\u4ee4\u884c\u53c2\u6570\u8bf4\u660e<br \/>\n<a class=\"external-link\" href=\"http:\/\/blog.csdn.net\/delphiwcdj\/article\/details\/6555073\" rel=\"nofollow\">http:\/\/blog.csdn.net\/delphiwcdj\/article\/details\/6555073<\/a><\/p>\n<p>Gcc\u7f16\u8bd1\u9009\u9879\u5206\u6790<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.cnblogs.com\/showna\/articles\/1013401.html\" rel=\"nofollow\">http:\/\/www.cnblogs.com\/showna\/articles\/1013401.html<\/a><\/p>\n<p>GCC\u7f16\u8bd1\u5668\u603b\u7ed3<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.jianshu.com\/p\/b8ddb4cee7af\" rel=\"nofollow\">http:\/\/www.jianshu.com\/p\/b8ddb4cee7af<\/a><\/p>\n<p>Linux GCC\u5e38\u7528\u547d\u4ee4<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.cnblogs.com\/ggjucheng\/archive\/2011\/12\/14\/2287738.html\" rel=\"nofollow\">http:\/\/www.cnblogs.com\/ggjucheng\/archive\/2011\/12\/14\/2287738.html<\/a><\/p>\n<p>Linux gcc\u7f16\u8bd1\u53c2\u6570 \u2014- Werror\u7684\u5a01\u529b<br \/>\n<a class=\"external-link\" href=\"http:\/\/www.leoox.com\/?p=237\" rel=\"nofollow\">http:\/\/www.leoox.com\/?p=237<\/a><\/p>\n<p>\u600e\u6837\u5b66\u4e60GCC\u7f16\u8bd1\u9009\u9879\uff1f<br \/>\n<a class=\"external-link\" href=\"https:\/\/www.zhihu.com\/question\/28914753\" rel=\"nofollow\">https:\/\/www.zhihu.com\/question\/28914753<\/a><\/p>\n<p>=END=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=Start= \u7f18\u7531\uff1a \u5b66\u4e60\u3001\u63d0\u9ad8\u9700\u8981 \u6b63\u6587\uff1a \u53c2\u8003\u89e3\u7b54\uff1a == \u603b\u4f53\u9009\u9879(Overall Option) &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,11,7],"tags":[100,450,30],"class_list":["post-3551","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-linux","category-programing","tag-c","tag-gcc","tag-linux"],"views":5997,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/3551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=3551"}],"version-history":[{"count":2,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/3551\/revisions"}],"predecessor-version":[{"id":3553,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/3551\/revisions\/3553"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=3551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=3551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=3551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}