{"id":1815,"date":"2024-04-24T05:32:40","date_gmt":"2024-04-23T21:32:40","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=1815"},"modified":"2024-04-24T05:32:55","modified_gmt":"2024-04-23T21:32:55","slug":"%e4%b8%ba%e4%bb%80%e4%b9%8864%e4%bd%8d%e7%bc%96%e8%af%91%e5%99%a8int%e7%b1%bb%e5%9e%8b%e4%be%9d%e7%84%b6%e6%98%af32%e4%bd%8d","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/%e4%b8%ba%e4%bb%80%e4%b9%8864%e4%bd%8d%e7%bc%96%e8%af%91%e5%99%a8int%e7%b1%bb%e5%9e%8b%e4%be%9d%e7%84%b6%e6%98%af32%e4%bd%8d\/","title":{"rendered":"64\u4f4d\u7f16\u8bd1\u5668int\u7c7b\u578b\u4f9d\u7136\u662f32\u4f4d?"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>32\u4f4d\u7f16\u8bd1\u5668\uff0cint\u548clong\u4e00\u822c\u90fd\u8bbe\u7f6e\u4e3a4\u5b57\u8282\u3002<br>\u4f8b\u5982i686-w64-mingw32-gcc.exe.<\/li>\n\n\n\n<li>64\u4f4d\u7f16\u8bd1\u5668\uff0cLinux\u5e73\u53f0long\u4e00\u822c\u63d0\u5347\u52308\u5b57\u8282\uff0cint\u4e00\u822c\u4fdd\u6301\u4e3a4\u5b57\u8282\uff1bWindows\u5e73\u53f0long\u548cint\u4fdd\u6301\u4e3a4\u5b57\u8282\uff0c\u7528long long\u8868\u793a8\u5b57\u8282\u3002\u8fd9\u662f\u7531\u4e8eWin64\u4f7f\u7528LLP64\u6a21\u578b\uff0cLinux 64\u4f4d\u4f7f\u7528LP64.\n<ul class=\"wp-block-list\">\n<li>\u5173\u4e8eWindows 64\u4f4dLLP64\u6a21\u578b\uff0c\u53ef\u53c2\u8003:&nbsp;<a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20050131-00\/?p=36563\">Why did the Win64 team choose the LLP64 model?<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>    Ubuntu 22.04 64\u4f4d\u7cfb\u7edf\u9ed8\u8ba4gcc\u662f64\u4f4d\uff0c\u53ef\u6267\u884c\u6587\u4ef6\u5728\/usr\/bin\/x86_64-linux-gnu-gcc\uff0cWindows 10 64\u4f4dCygwin gcc.exe\u540c\u6837\u4e5f\u662f64\u4f4d\uff0c\u7f16\u8bd1\u4ee3\u7801printf(\"%d %d\\n\", sizeof(int), sizeof(long))\u4f1a\u5f97\u5230\"4 8\". \u5982\u679c\u6362\u6210\u4e0a\u9762\u63d0\u5230\u7684i686-w64-mingw32-gcc.exe\u7f16\u8bd1\uff0c\u5f97\u5230\"4 4\".<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 22.04 64\u4f4d\u7cfb\u7edf\u9ed8\u8ba4gcc\u662f64\u4f4d\uff0c\u53ef\u6267\u884c\u6587\u4ef6\u5728\/usr\/bin\/x86_64-linux-gnu-gcc\uff0cWindows 10 64\u4f4dCygwin gcc.exe\u540c\u6837\u4e5f\u662f64\u4f4d\uff0c&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299],"tags":[],"class_list":["post-1815","post","type-post","status-publish","format-standard","hentry","category-think"],"views":50,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/comments?post=1815"}],"version-history":[{"count":2,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1815\/revisions"}],"predecessor-version":[{"id":1818,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1815\/revisions\/1818"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=1815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=1815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=1815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}