<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>This is not a meta title</title>
	<atom:link href="http://juju.net.nz/michaelh/diary/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://juju.net.nz/michaelh/diary</link>
	<description></description>
	<pubDate>Thu, 23 Apr 2009 20:22:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using clobber in machine descriptions</title>
		<link>http://juju.net.nz/michaelh/diary/?p=61</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=61#comments</comments>
		<pubDate>Thu, 23 Apr 2009 20:22:02 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=61</guid>
		<description><![CDATA[&#8216;clobber&#8217; ensures that the register is free before entering and after exiting an instruction.  Therefore you can&#8217;t use it to say a register is used then destoryed by an instruction such as LOADACC, (X+) on X.
Took a while to figure this out
]]></description>
			<content:encoded><![CDATA[<p>&#8216;clobber&#8217; ensures that the register is free before entering and after exiting an instruction.  Therefore you can&#8217;t use it to say a register is used then destoryed by an instruction such as LOADACC, (X+) on X.</p>
<p>Took a while to figure this out</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=61</wfw:commentRss>
		</item>
		<item>
		<title>Extreme optimisation</title>
		<link>http://juju.net.nz/michaelh/diary/?p=58</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=58#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:40:46 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=58</guid>
		<description><![CDATA[GCC is crazy.  It recognises a printf(&#8217;foo\n&#8217;) and turns it into the equivalent puts(&#8217;foo&#8217;) instead.
builtins.c has all types of similar transformations including printf(&#8217;%c&#8217;, v) to a putch(v) and printf(&#8217;%s&#8217;, v) to fputs().
]]></description>
			<content:encoded><![CDATA[<p>GCC is crazy.  It recognises a printf(&#8217;foo\n&#8217;) and turns it into the equivalent puts(&#8217;foo&#8217;) instead.</p>
<p>builtins.c has all types of similar transformations including printf(&#8217;%c&#8217;, v) to a putch(v) and printf(&#8217;%s&#8217;, v) to fputs().</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=58</wfw:commentRss>
		</item>
		<item>
		<title>Canterbury innovation incubator</title>
		<link>http://juju.net.nz/michaelh/diary/?p=55</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=55#comments</comments>
		<pubDate>Sun, 05 Apr 2009 05:08:53 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=55</guid>
		<description><![CDATA[The Cii seems interesting.  It needs more publicity - this is the first time I&#8217;ve heard of it in my fifteen years in Christchurch.
]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.cii.co.nz/index.shtml">Cii</a> seems interesting.  It needs more publicity - this is the first time I&#8217;ve heard of it in my fifteen years in Christchurch.</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>Adding new relocation types</title>
		<link>http://juju.net.nz/michaelh/diary/?p=54</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=54#comments</comments>
		<pubDate>Mon, 30 Mar 2009 08:44:32 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=54</guid>
		<description><![CDATA[For bfd, add them to the comment block in reloc.c then run &#8216;make headers&#8217;.  One more make after that gets it through to bfd.h
]]></description>
			<content:encoded><![CDATA[<p>For bfd, add them to the comment block in reloc.c then run &#8216;make headers&#8217;.  One more make after that gets it through to bfd.h</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=54</wfw:commentRss>
		</item>
		<item>
		<title>binutils / bfd target magic</title>
		<link>http://juju.net.nz/michaelh/diary/?p=48</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=48#comments</comments>
		<pubDate>Mon, 02 Mar 2009 08:49:27 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=48</guid>
		<description><![CDATA[So the BFD architectures listed in bfd.h are actually defined archures.c in a big comment block at the start of the file.  This is split out and fired into the documentation, many bfd-in-xx.h files, and finally into bfd.h.
Note that a &#8216;make headers&#8217; doesn&#8217;t re-build it.  I found a &#8216;make distclean; ./configure&#8217; was the most brute [...]]]></description>
			<content:encoded><![CDATA[<p>So the BFD architectures listed in <tt>bfd.h</tt> are actually defined <tt>archures.c</tt> in a big comment block at the start of the file.  This is split out and fired into the documentation, many bfd-in-xx.h files, and finally into bfd.h.</p>
<p>Note that a &#8216;make headers&#8217; doesn&#8217;t re-build it.  I found a &#8216;make distclean; ./configure&#8217; was the most brute force way.</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=48</wfw:commentRss>
		</item>
		<item>
		<title>Python on an embedded system</title>
		<link>http://juju.net.nz/michaelh/diary/?p=46</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=46#comments</comments>
		<pubDate>Thu, 19 Feb 2009 07:17:49 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=46</guid>
		<description><![CDATA[I like Python.  I want to use Python everywhere.  Hmm.  Sounds more like an addiction.  The question is, is Python suitable as a glue language on a embedded Linux system?
With a few hacks Python 1.5.2 cross compiles just fine.  The speed will be acceptable so it&#8217;s really only the size that matters.
A standard build under [...]]]></description>
			<content:encoded><![CDATA[<p>I like Python.  I want to use Python everywhere.  Hmm.  Sounds more like an addiction.  The question is, is Python suitable as a glue language on a embedded Linux system?</p>
<p>With a few hacks Python 1.5.2 cross compiles just fine.  The speed will be acceptable so it&#8217;s really only the size that matters.</p>
<p>A standard build under x86 is 12.6M. From there:</p>
<ul>
<li>Stripping python saves 1.1M</li>
<li>Removing man and include saves 400k</li>
<li>Removing *.py and *.pyo saves 2.8M but still lets everything run</li>
<li>Removing Tk, Config, and stdwin saves 3.9M</li>
<li>Removing test saves 1.9M</li>
</ul>
<p>This brings a fully working Python interpreter with all of the command line libraries down to 2.4M.  Quite respectable.</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=46</wfw:commentRss>
		</item>
		<item>
		<title>Naming</title>
		<link>http://juju.net.nz/michaelh/diary/?p=44</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=44#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:20:14 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=44</guid>
		<description><![CDATA[For personal reference.  What happens when you follow too strict of a naming convention:
http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/server/RequestProcessorFactoryFactory.html?rel=html
]]></description>
			<content:encoded><![CDATA[<p>For personal reference.  What happens when you follow too strict of a naming convention:</p>
<p><a href="http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/server/RequestProcessorFactoryFactory.html?rel=html">http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/server/RequestProcessorFactoryFactory.html?rel=html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=44</wfw:commentRss>
		</item>
		<item>
		<title>Hmm</title>
		<link>http://juju.net.nz/michaelh/diary/?p=42</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=42#comments</comments>
		<pubDate>Wed, 26 Nov 2008 08:42:41 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=42</guid>
		<description><![CDATA[http://www.ladyada.net/make/fuzebox/index.html
and
http://www.makershed.com/ProductDetails.asp?ProductCode=MKPO1
]]></description>
			<content:encoded><![CDATA[<p>http://www.ladyada.net/make/fuzebox/index.html</p>
<p>and</p>
<p>http://www.makershed.com/ProductDetails.asp?ProductCode=MKPO1</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=42</wfw:commentRss>
		</item>
		<item>
		<title>Anthony&#8217;s</title>
		<link>http://juju.net.nz/michaelh/diary/?p=40</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=40#comments</comments>
		<pubDate>Tue, 30 Sep 2008 03:27:51 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=40</guid>
		<description><![CDATA[&#8230;fish grotto on the bay in San Diego is very good.
They also do seafood.
]]></description>
			<content:encoded><![CDATA[<p>&#8230;fish grotto on the bay in San Diego is very good.</p>
<p>They also do seafood.</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=40</wfw:commentRss>
		</item>
		<item>
		<title>Richard Stallman</title>
		<link>http://juju.net.nz/michaelh/diary/?p=38</link>
		<comments>http://juju.net.nz/michaelh/diary/?p=38#comments</comments>
		<pubDate>Sat, 16 Aug 2008 07:12:53 +0000</pubDate>
		<dc:creator>michaelh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juju.net.nz/michaelh/diary/?p=38</guid>
		<description><![CDATA[Saw RMS at Canterbury University today.  He has an interesting point of view, very liberal, but also a point of view that is based on old technology.
He said that sites like Google Docs are a problem as you are running a program on their machine, a program that you don&#8217;t have control over.  The solution [...]]]></description>
			<content:encoded><![CDATA[<p>Saw RMS at Canterbury University today.  He has an interesting point of view, very liberal, but also a point of view that is based on old technology.</p>
<p>He said that sites like Google Docs are a problem as you are running a program on their machine, a program that you don&#8217;t have control over.  The solution is to install your own version on your own machine.  I wonder how you can do this and still get the advantages of hosted software, such as lower cost, lower administration, and higher availability.  I don&#8217;t want to manage any of the software I use, and one solution is to let someone else do it.</p>
<p>He&#8217;s not concerned about embedded systems where a processor is used instead of a dedicated circuit, such as in a microwave.  However, my microwave gains time and I&#8217;d rather have it show time in 24 hours to match the stove.  Both I could fix with the source.  Then you have car computers such as the Nissan GT-R that <a href="http://www.autojab.com/on-a-race-track-nissan-gt-r-disables-speed-limiter-via-gps/">changes the car response if it is on a race track</a>.  I heard a rumor of the NSX requiring you to take the car to the dealer if it goes anywhere near a known track.</p>
<p>Hmm.  Perhaps the embedded/mechanical equivalent is the <a href="http://www.flickr.com/photos/pmtorrone/306528267/">Maker Bill of Rights</a> from Make Magazine.</p>
]]></content:encoded>
			<wfw:commentRss>http://juju.net.nz/michaelh/diary/?feed=rss2&amp;p=38</wfw:commentRss>
		</item>
	</channel>
</rss>
