{
  "version": "https://jsonfeed.org/version/1", 
  "title": "GCC", 
  "description": "", 
  "home_page_url": "https://www.v2ex.com/go/gcc", 
  "feed_url": "https://www.v2ex.com/feed/gcc.json", 
  "items": [
    {
      "author": {
        "url": "https://www.v2ex.com/member/SmaliYu", 
        "name": "SmaliYu", 
        "avatar": "https://cdn.v2ex.com/avatar/f0a3/9022/467688_large.png?m=1745912986"
      }, 
      "url": "https://www.v2ex.com/t/730852", 
      "title": "\u8bf7\u95ee\u5982\u4f55\u5c06 GCC \u7f16\u8bd1\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff1f", 
      "id": "https://www.v2ex.com/t/730852", 
      "date_published": "2020-12-01T02:39:43+00:00", 
      "content_html": "<p>\u76ee\u524d\u7684 GCC \u81ea\u5df1\u662f\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7f16\u8bd1\u8fc7\u7a0b\u4f1a\u8c03\u7528 cc1,as,ld\uff0c\u60f3\u95ee\u4e0b\uff0c\u6709\u6ca1\u6709\u7528\u8fc7\u914d\u7f6e configure \u7f16\u8bd1\u6210\u5355\u72ec\u7684\u4e00\u4e2a GCC \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4e0d\u4f9d\u8d56\u5176\u4ed6\u7684 lib \u5e93\u548c\u53ef\u6267\u884c\u6587\u4ef6\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/auto8888", 
        "name": "auto8888", 
        "avatar": "https://cdn.v2ex.com/avatar/b5ea/7541/474318_large.png?m=1583805965"
      }, 
      "url": "https://www.v2ex.com/t/726428", 
      "date_modified": "2020-11-17T15:08:28+00:00", 
      "content_html": "<p>\u5982\u9898\uff0c\u8981\u88ab\u6298\u78e8\u75af\u4e86\uff0c\u8dea\u6c42\u5927\u4f6c\u3002\u3002\u3002</p>\n<p>\u6709\u4e9b\u5d29\u7684\u60c5\u51b5\u662f\u80fd\u770b\u5230\u81ea\u5df1\u5d29\u5728\u54ea\u7684\uff0c\u8fd9\u79cd\u5d29\u5728\u5916\u9762\u7684\u600e\u4e48\u67e5\uff1f</p>\n<p><a href=\"https://i.loli.net/2020/11/17/Q7moasKcHfqhzgF.png\" rel=\"nofollow\">https://i.loli.net/2020/11/17/Q7moasKcHfqhzgF.png</a></p>\n", 
      "date_published": "2020-11-17T14:34:17+00:00", 
      "title": "GDB \u7a0b\u5e8f\u5d29\u6e83\u6ca1\u6709\u6548\u4ee3\u7801\u5806\u6808\u8be5\u600e\u4e48\u8c03\u8bd5\uff1f\u8981\u88ab\u6298\u78e8\u75af\u4e86", 
      "id": "https://www.v2ex.com/t/726428"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/johnsonshu", 
        "name": "johnsonshu", 
        "avatar": "https://cdn.v2ex.com/avatar/f2cc/d331/408814_large.png?m=1635780645"
      }, 
      "url": "https://www.v2ex.com/t/630618", 
      "date_modified": "2019-12-19T11:01:43+00:00", 
      "content_html": "\u5de6\u8fb9\u662f\u9519\u8bef\uff0c\u53f3\u8fb9\u662f\u4ee3\u7801\u3002<br />\u6211\u5355\u7eaf\u5c31\u662f\u4e0b\u8f7d\u4e86 gens \u7684 source\uff0c\u5c31\u7f16\u8bd1\u4e00\u4e0b\u554a\u3002\u4ec0\u4e48\u4e5f\u6ca1\u6539\u3002<br /><br />gens_core/cpu/68k/cpu_68k.c:27:3: error: initializer element is not constant<br />   {0xFF0000, 0xFFFFFF, (unsigned) &amp;Ram_68k[0] - 0xFF0000},<br /><br />struct STARSCREAM_PROGRAMREGION M68K_Fetch[] = {<br />  {0x000000, 0x3FFFFF, (unsigned) 0x000000},<br />  {0xFF0000, 0xFFFFFF, (unsigned) &amp;Ram_68k[0] - 0xFF0000},<br />  {0xF00000, 0xF0FFFF, (unsigned) &amp;Ram_68k[0] - 0xF00000},<br />  {0xEF0000, 0xEFFFFF, (unsigned) &amp;Ram_68k[0] - 0xEF0000},<br />  {-1, -1, (unsigned) NULL},<br />  {-1, -1, (unsigned) NULL},<br />  {-1, -1, (unsigned) NULL}<br />};<br /><br /><br /><a target=\"_blank\" href=\"https://i.loli.net/2019/12/19/74oS8jfbBQuyRti.jpg\" rel=\"nofollow\">https://i.loli.net/2019/12/19/74oS8jfbBQuyRti.jpg</a>", 
      "date_published": "2019-12-19T11:00:48+00:00", 
      "title": "genssource \u7f16\u8bd1\u8fc7\u4e0d\u53bb\u554a", 
      "id": "https://www.v2ex.com/t/630618"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/houbaron", 
        "name": "houbaron", 
        "avatar": "https://cdn.v2ex.com/avatar/6100/b0cf/184520_large.png?m=1505355370"
      }, 
      "url": "https://www.v2ex.com/t/504132", 
      "date_modified": "2018-11-03T09:57:47+00:00", 
      "content_html": "<p>\u4f3c\u4e4e\u662f\u8bcd\u6cd5\u5206\u6790\u9636\u6bb5\u8bc6\u522b\u51fa\u7684\u3002</p>\n<p>\u627e\u5230\u4e86\u70b9\u76f8\u5173\u8d44\u6599\uff1a <a href=\"https://www.xzbu.com/9/view-6383627.htm\" rel=\"nofollow\">https://www.xzbu.com/9/view-6383627.htm</a></p>\n<p>SEO:</p>\n<ul>\n<li>\u7f16\u8bd1\u539f\u7406</li>\n<li>\u524d\u81ea\u589e</li>\n<li>\u540e\u81ea\u589e</li>\n<li>\u81ea\u589e</li>\n<li>C \u8bed\u8a00</li>\n<li>C++</li>\n<li>GCC</li>\n<li>\u7f16\u8bd1\u5668</li>\n<li>\u91cd\u8f7d</li>\n</ul>\n", 
      "date_published": "2018-11-03T09:53:06+00:00", 
      "title": "\u7f16\u8bd1\u5668\u662f\u5982\u4f55\u8bc6\u522b\u51fa ++ \u800c\u4e0d\u662f\u4e24\u4e2a\u52a0\u53f7\u7684\uff1f\u662f\u5982\u4f55\u8bc6\u522b\u51fa\u524d\u7f00\u81ea\u589e\u548c\u540e\u7f00\u81ea\u589e\u7684\uff1f", 
      "id": "https://www.v2ex.com/t/504132"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/EchoChan", 
        "name": "EchoChan", 
        "avatar": "https://cdn.v2ex.com/gravatar/ee2a5539a038eadfb2cc9baad3ebd16b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/199900", 
      "date_modified": "2015-06-19T12:00:21+00:00", 
      "content_html": "\u9879\u76ee\u662f\u6839\u636e<iframe id=\"ytplayer\" type=\"text/html\" width=\"660\" height=\"420\" src=\"//www.youtube.com/embed/__-wUHG2rfM\" frameborder=\"0\" allowfullscreen></iframe> \u505a\u7684\uff0c\u6e90\u7801\u5728https://github.com/jengelsma/yacc-tutorial \r<br />\u4e5f\u5c31\u662f\u4e24\u4e2a\u6587\u4ef6\uff0c\r<br />\u4e00\u4e2ahttps://github.com/jengelsma/yacc-tutorial/blob/master/calc.l\r<br />\u4e00\u4e2ahttps://github.com/jengelsma/yacc-tutorial/blob/master/calc.y\r<br />\u5229\u7528\u547d\u4ee4\u751f\u6210y.tab.c\u548cy.tab.h\u4ee5\u53calex.yy.c\u540e\uff0c\u4f7f\u7528gcc lex.yy.c y.tab.c -o calc\u547d\u4ee4\uff0c\u51fa\u73b0\u4e86\u5982\u4e0b\u9519\u8bef\r<br />calc.l:11:8: warning: implicit declaration of function 'yyerror' is invalid in\r<br />      C99 [-Wimplicit-function-declaration]\r<br />{ECHO; yyerror (&quot;unexpected character&quot;);}\r<br />       ^\r<br />1 warning generated.\r<br />y.tab.c:1249:16: warning: implicit declaration of function 'yylex' is invalid in\r<br />      C99 [-Wimplicit-function-declaration]\r<br />      yychar = YYLEX;\r<br />               ^\r<br />y.tab.c:605:16: note: expanded from macro 'YYLEX'\r<br /># define YYLEX yylex ()\r<br />               ^\r<br />calc.y:46:5: warning: implicit declaration of function 'islower' is invalid in\r<br />      C99 [-Wimplicit-function-declaration]\r<br />        if(islower(token)) {\r<br />           ^\r<br />calc.y:48:12: warning: implicit declaration of function 'isupper' is invalid in\r<br />      C99 [-Wimplicit-function-declaration]\r<br />        } else if(isupper(token)) {\r<br />                  ^\r<br />3 warnings generated.\r<br />\r<br />Google\u4e86\u4e00\u5708\uff0c\u6309\u7167http://stackoverflow.com/questions/27220759/linker-error-yacc-on-mac\r<br />\u548chttp://stackoverflow.com/questions/23717039/generating-a-compiler-from-lex-and-yacc-grammar\u7684\u8bf4\u6cd5\u90fd\u6ca1\u89e3\u51b3\u3002\u8bf7\u95ee\u8fd9\u600e\u4e48\u89e3\u51b3\uff1f\u662f\u4e0d\u662f\u56e0\u4e3aos x \u5185\u7f6e\u7684GCC\u7f16\u8bd1\u5668\u53ea\u80fd\u751f\u6210C99\u98ce\u683c\u7684\u4ee3\u7801\u800c\u9020\u6210\u7684\uff1f", 
      "date_published": "2015-06-19T11:59:37+00:00", 
      "title": "\u8be2\u95ee\u4e00\u4e2a\u7f16\u8bd1\u539f\u7406\u7684\u95ee\u9898\uff1a implicit declaration of function 'yyerror' is invalid in C99", 
      "id": "https://www.v2ex.com/t/199900"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/skydiver", 
        "name": "skydiver", 
        "avatar": "https://cdn.v2ex.com/avatar/84cc/fcce/14274_large.png?m=1334900788"
      }, 
      "url": "https://www.v2ex.com/t/51615", 
      "date_modified": "2012-11-03T07:06:33+00:00", 
      "content_html": "\u5317\u5927POJ1008\u8fd9\u9053\u9898\uff0c\u7528getmonth2\u8fd9\u4e2a\u51fd\u6570\u5c31\u6ca1\u95ee\u9898\uff0c\u7528getmonth\u5c31\u6709\u95ee\u9898\uff0cWrong Answer\u3002<br />\u4f46\u662f\u7528\u7ed9\u7684\u6d4b\u8bd5\u6848\u4f8b\u7ed3\u679c\u6ca1\u6709\u9519\u3002<br /><br />\u8fdb\u884c\u5355\u5143\u6d4b\u8bd5\u4e24\u4e2a\u51fd\u6570\u7684\u7ed3\u679c\u662f\u4e00\u6837\u7684\u3002<br /><br /><script src=\"http://gist.github.com/4006344.js\"></script>", 
      "date_published": "2012-11-03T07:03:36+00:00", 
      "title": "\u54ea\u4f4d\u5927\u795e\u5e2e\u5fd9\u770b\u4e00\u4e0b\u4ee3\u7801\u6709\u4ec0\u4e48\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/51615"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/obiwong", 
        "name": "obiwong", 
        "avatar": "https://cdn.v2ex.com/avatar/10cd/8cca/5279_large.png?m=1333970573"
      }, 
      "url": "https://www.v2ex.com/t/12570", 
      "date_modified": "2012-04-22T14:31:28+00:00", 
      "content_html": "\u5185\u5b58\uff1fcpu\uff1f\u8fd8\u662f\u786c\u76d8\uff1f......\r\n<br />*\u74f6\u9888* \u5f53\u7136\u662f\u6307\u6728\u6876\u6700\u77ed\u7684\u90a3\u4e00\u677f\u6216\u98de\u884c\u4e2d\u961f\u91cc\u6700\u6162\u7684\u90a3\u67b6\u98de\u673a", 
      "date_published": "2011-05-05T06:05:13+00:00", 
      "title": "\u5f71\u54cdGcc\u7f16\u8bd1\u901f\u5ea6\u7684\u74f6\u9888\u5728\u54ea\uff1f", 
      "id": "https://www.v2ex.com/t/12570"
    }
  ]
}