{"id":151,"date":"2012-08-15T11:23:25","date_gmt":"2012-08-15T09:23:25","guid":{"rendered":"https:\/\/blogs.gentoo.org\/mgorny\/?p=151"},"modified":"2012-08-16T10:58:20","modified_gmt":"2012-08-16T08:58:20","slug":"research-question-integral-type-sizes-on-various-platforms","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/mgorny\/2012\/08\/15\/research-question-integral-type-sizes-on-various-platforms\/","title":{"rendered":"Research question: integral type sizes on various platforms"},"content":{"rendered":"<p>I&#8217;m a bit curious about sizes of various integral types on different platforms, and I&#8217;d really appreciate a little help from people running various non-common architectures\/toolchains. I&#8217;ve prepared a little package which just tries to get various type sizes using the C++ compiler, and I&#8217;d really appreciate if you could run it and paste the results in a comment.<\/p>\n<p>To run it:<\/p>\n<pre><code>wget http:\/\/dev.gentoo.org\/~mgorny\/cxx-type-sizes-0.tar.bz2\r\ntar -xf cxx-type-sizes-0.tar.bz2\r\ncd cxx-type-sizes-0\/\r\n.\/configure\r\nmake\r\ncat output\/_all<\/code><\/pre>\n<p>It will try to compile a few programs, and then run them. Then it concatenates the results into <code>output\/_all<\/code> and that&#8217;s the file I&#8217;d like to get, along with your platform, toolchain, <ins>CHOST and ARCH, ABI<\/ins> and everything else you consider relevant.<\/p>\n<p>I&#8217;d really like to get a single output for each architecture, and possibly additional outputs if some toolchain\/other magic resulted in different results than the previous one. I&#8217;ll put the results then into a nice table. Thanks in advance.<\/p>\n<p><ins><a rel='external' href='http:\/\/dev.gentoo.org\/~mgorny\/types.html'>Current results<\/a>.<\/ins><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a bit curious about sizes of various integral types on different platforms, and I&#8217;d really appreciate a little help from people running various non-common architectures\/toolchains. I&#8217;ve prepared a little package which just tries to get various type sizes using the C++ compiler, and I&#8217;d really appreciate if you could run it and paste the &hellip; <a href=\"https:\/\/blogs.gentoo.org\/mgorny\/2012\/08\/15\/research-question-integral-type-sizes-on-various-platforms\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Research question: integral type sizes on various platforms&#8221;<\/span><\/a><\/p>\n","protected":false},"author":137,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[8],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/151"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/users\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":7,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":158,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/posts\/151\/revisions\/158"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/mgorny\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}