<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mithro rants about stuff &#187; thousand parsec</title>
	<atom:link href="http://blog.mithis.net/archives/tag/thousand-parsec/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mithis.net</link>
	<description></description>
	<lastBuildDate>Sun, 03 Jan 2010 04:10:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compiling for Windows using Cygwin on Linux&#8230;.</title>
		<link>http://blog.mithis.net/archives/tp/95-xcompiling-cygwin-on-linux-for-windows</link>
		<comments>http://blog.mithis.net/archives/tp/95-xcompiling-cygwin-on-linux-for-windows#comments</comments>
		<pubDate>Tue, 27 Jan 2009 06:52:22 +0000</pubDate>
		<dc:creator>mithro</dc:creator>
				<category><![CDATA[Thousand Parsec]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[cross compile]]></category>
		<category><![CDATA[cross compiling]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[mingw32]]></category>
		<category><![CDATA[thousand parsec]]></category>
		<category><![CDATA[tpserver-cpp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mithis.net/?p=95</guid>
		<description><![CDATA[So for the past week while I have been at the best conference in the world I have been trying to compile tpserver-cpp for Windows. I had done the hard work and gotten it to compile (as documented here, here and here) on Windows previously. However, as I was in Hobart at a Linux conference [...]]]></description>
			<content:encoded><![CDATA[<p>So for the past week while I have been at the <a href="http://linux.conf.au">best conference</a> in the world I have been trying to compile <a href="http://git.thousandparsec.net/gitweb/gitweb.cgi?p=tpserver-cpp.git;a=summary">tpserver-cpp</a> for Windows. I had done the hard work and gotten it to compile (as documented <a href="http://blog.mithis.net/archives/tp/10-compiling-tpserver-cpp-under-windows">here</a>, <a href="http://blog.mithis.net/archives/tp/12-compiling-tpserver-cpp-under-windows-part-2">here</a> and <a href="http://blog.mithis.net/archives/tp/13-compiling-tpserver-cpp-under-windows-part-3">here</a>) on Windows previously. However, as I was in Hobart at a Linux conference I didn&#8217;t really have access to Windows computer. That was not going to stop me, so I attempted to <a href="http://en.wikipedia.org/wiki/Cross-compiling">cross compile</a> the binaries under Linux. This has a number of advantages as it would mean when <a href="http://jms.id.au/wiki">someone</a> finally gets around to creating a autobuilder, we can produce Windows binaries too.</p>
<p>Ubuntu provides the <a href="http://www.mingw.org/">mingw32 compilers</a> in the <a href="http://packages.ubuntu.com/search?keywords=mingw32&amp;searchon=names&amp;section=all">repository</a> so I didn&#8217;t think it would be all that hard to get working. The problem is that tpserver-cpp does not have a &#8220;native&#8221; Windows support but <a href="http://www.cygwin.com/">cygwin</a> comes to the rescue and provides a compatibly layer. Using cygwin turned out to not be as simple as using mingw32 compiler with the cygwin headers.</p>
<p>I ended up using <a href="http://www.kegel.com/crosstool/">crosstool</a> to build my own cygwin compiler. I battled for a long while with the fact that Ubuntu now enables &#8220;fortify source&#8221; by default. This breaks many versions of things like binutils and gcc (which often do <i>naughty</i> things which fortify source does not like). After I figured out how to disable it, I was still was only able to get an ancient version of gcc to compile (3.3.6) which meant I had to fix a lot of problems in the tpserver-cpp code. I guess someone had to do it eventually, but it was annoying that I was forced too.</p>
<p>I then manually downloaded a bunch of <a href="http://mirror.aarnet.edu.au/pub/cygwin/release/">cygwin packages</a> to build a tree for the dependencies (such as boost and guile). This was much faster then trying to compile them on my own.  Finally, I was able to build tperver-cpp and create a Windows binary! I can confirm it runs fine under Wine and am now getting friends who are still shacked to Windows to test it there. </p>
<p>It sounds much simpler now, but it took me over a week of work to boil it down to these steps. It was like a constant game of wack-a-mole, once I had solved one problem another popped up.</p>
<p>So what now in this area? I want to get a recent version of the compiler working and preferably build all the dependencies ourselves (rather then rely on the cygwin compiled versions). I would ultimately like to see the cygwin compilers being packaged with Ubuntu/Debian in the same way that the mingw32 compilers are. I don&#8217;t know if any of that is likely to happen however as I never seem to have enought time. For now I have uploaded a copy of <a href="http://blog.mithis.net/~tim/crosstool-cygwin-gcc336.tar.bz2">my cross compiler</a> (It needs to be extracted so it is found in /opt/crosstool).</p>
<p>I hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mithis.net/archives/tp/95-xcompiling-cygwin-on-linux-for-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In the land of the sheep&#8230;</title>
		<link>http://blog.mithis.net/archives/tp/93-in-the-land-of-the-sheep</link>
		<comments>http://blog.mithis.net/archives/tp/93-in-the-land-of-the-sheep#comments</comments>
		<pubDate>Sat, 15 Nov 2008 06:57:27 +0000</pubDate>
		<dc:creator>mithro</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[Thousand Parsec]]></category>
		<category><![CDATA[Uni]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[mentors summit]]></category>
		<category><![CDATA[new zealand]]></category>
		<category><![CDATA[thousand parsec]]></category>
		<category><![CDATA[worldforge]]></category>

		<guid isPermaLink="false">http://blog.mithis.net/?p=93</guid>
		<description><![CDATA[I wrote this post while in New Zealand but never posted it, now I&#8217;m at Linux.conf.au I have time to finish it up.
Well its been a long time since I have posted on my blog. As I lasted mentioned I now work at Google, which has been going well but keeping me fairly busy. For [...]]]></description>
			<content:encoded><![CDATA[<p><i>I wrote this post while in New Zealand but never posted it, now I&#8217;m at Linux.conf.au I have time to finish it up.</i></p>
<p>Well its been a long time since I have posted on my blog. As I lasted mentioned I now work at Google, which has been going well but keeping me fairly busy. For the last month (October, 2009) I have been back in Mountain View, California. While I was there for mainly work purposes, I did get the chance to go to both the <a href="http://code.google.com/soc">Summer of Code</a> <a href="https://gsoc-wiki.osuosl.org/index.php/Main_Page">Mentor Summit</a> and the <a href="http://git.or.cz/gitwiki/GitTogether">GitTogether</a>. Both where a lot of fun but tiering. </p>
<p>It was good to see the <a href="http://bzflag.org">BZFlag</a> guys again &#8211; they even had cool t-shirts this year. Not as cool as our <a href="http://www.cafepress.com/thousandparsec.123836466">Thousand Parsec shirts</a>, however. <img src='http://blog.mithis.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I was finally able to meet kblin who I had know through the <a href="http://www.worldforge.org">WorldForge</a> project for many years. As always he looked nothing like I expected.</p>
<p>At the GitTogther I was mainly interested in trying to make git usable with large media repositories. This is one area which Subversion still has an advantage. After much discussion we came up with a solution to the problem which <a href="http://www.thousandparsec.net/~tim/media+git.pdf">I gave a short presentation</a>.</p>
<p>It also gave me a chance to catch up with the Open Source Progams Office. It was great to catch up with <a href="http://www.hawthornlandings.org/">Leslie Hawthorn</a> and her fabulous crew.</p>
<p>No sooner had I gotten back from the states, I headed of to New Zealand. <a href="http://llnz.dyndns.org/">Lee Begg</a> who I also first met through the WorldForge project and was the co-founder of the Thousand Parsec project, is getting married and I will be a grooms man.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mithis.net/archives/tp/93-in-the-land-of-the-sheep/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thousand Parsec accepted into Google Summer of Code 2008!</title>
		<link>http://blog.mithis.net/archives/tp/76-gsoc2008</link>
		<comments>http://blog.mithis.net/archives/tp/76-gsoc2008#comments</comments>
		<pubDate>Tue, 18 Mar 2008 04:53:32 +0000</pubDate>
		<dc:creator>mithro</dc:creator>
				<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[Thousand Parsec]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[thousand parsec]]></category>

		<guid isPermaLink="false">http://blog.mithis.net/archives/tp/76-gsoc2008</guid>
		<description><![CDATA[As I&#8217;m too lazy to write a post myself, here is one from JLP:

Google has just published the list of accepted mentoring organizations for Google Summer of Code 2008 and it is great to see that Thousand Parsec has made it once again. We must be doing something right  
So, if you are into [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m too lazy to write a post myself, here is one from JLP:</p>
<blockquote><p>
Google has just published the list of accepted mentoring organizations for <a href="http://www.thousandparsec.net/">Google Summer of Code 2008</a> and it is great to see that Thousand Parsec has made it once again. We must be doing something right <img src='http://blog.mithis.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, if you are into turn-based <a href="http://en.wikipedia.org/wiki/4x_game">4X space strategy games</a> and would like to help in game development, this is your chance. Take a look at our <a href="http://www.thousandparsec.net/wiki/Google_Summer_of_Code">Google Summer of Code</a> and <a href="http://www.thousandparsec.net/wiki/Ideas_for_Programmers">Ideas for Programmers pages</a> and get involved. There is even US$ 4500 to encourage you to take that step into the world of open source software programming.</p>
<p>Interested students now have about a week to get to know us better. You can chat with us on IRC (<a href="irc://irc.freenode.org/#p">Freenode network, #tp channel</a>) or write to our <a href="http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel">development mailing list</a>. Starting March 24 student applications can be submitted, <strong>all applications must be in by March 31</strong>. Iâ€™m looking forward to be a mentor again.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mithis.net/archives/tp/76-gsoc2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
