<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c/tags/word-size</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 27 May 2013 12:55:06 GMT</pubDate>
<item>
<title>(C) Determine word sizes by cross-compiling only - deepsoul</title>
<link>http://snipplr.com/view/56381/determine-word-sizes-by-crosscompiling-only/</link>
<description><![CDATA[ <p>You can find out the word sizes and endianness of a device by compiling the following program with a cross compiler and looking at the executable with the `strings` program or a hex editor.  The `TESTIF` macro puts a copy of the statement to test and its truth value into a string which will be present in the exe.  This helps if you do not have such a device handy, or if it is cumbersome to access (requires loading firmware etc.).</p> ]]></description>
<pubDate>Mon, 11 Jul 2011 06:08:22 GMT</pubDate>
<guid>http://snipplr.com/view/56381/determine-word-sizes-by-crosscompiling-only/</guid>
</item>
</channel>
</rss>