<?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>Dysfunctional Programming &#187; fedora</title>
	<atom:link href="http://www.joshmatthews.net/blog/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshmatthews.net/blog</link>
	<description>/* You are not expected to understand this */</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:50:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cross-compiling with MinGW on Fedora</title>
		<link>http://www.joshmatthews.net/blog/2010/02/cross-compiling-with-mingw-on-fedora/</link>
		<comments>http://www.joshmatthews.net/blog/2010/02/cross-compiling-with-mingw-on-fedora/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:22:29 +0000</pubDate>
		<dc:creator>Josh Matthews</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[megazeux]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://www.joshmatthews.net/blog/?p=55</guid>
		<description><![CDATA[My goodness, I&#8217;m impressed. Having released the first iteration of my robotic debugger, I was informed that the fork()/exec() combo isn&#8217;t portable to Windows. Nobody volunteered any patches immediately, so I decided to read up on cross-compiling since I really dislike having to reboot into my other partition. Turns out that the entire MinGW stack [...]]]></description>
			<content:encoded><![CDATA[<p>My goodness, I&#8217;m impressed.  Having <a href="http://www.digitalmzx.net/forums/index.php?showtopic=14776&#038;hl=">released</a> the first iteration of my robotic debugger, I was informed that the fork()/exec() combo isn&#8217;t portable to Windows.  Nobody volunteered any patches immediately, so I decided to read up on cross-compiling since I really dislike having to reboot into my other partition.  Turns out that the entire MinGW stack has been packaged up for Fedora, meaning that all I had to do in the end was:<br />
<code># yum install mingw32-gcc mingw32-gcc-c++ mingw32-libpng mingw32-SDL<br />
$ mingw32-make -j2</code></p>
<p>It wasn&#8217;t quite that easy &#8211; since Megazeux uses a non-standard configure script, I had to correct a few faulty assumptions.  I never figured out the correct way to use
<pre>/usr/i686-pc-mingw32/sys-root/mingw/bin/sdl-config</pre>
<p> instead of the default one, so that got hardcoded somewhere.  Also, Megazeux relies on libogg and libvorbis, which haven&#8217;t been pushed to the fedora repository yet (packaging limbo ahoy!), but I was able to grab some rpms that the mingw32 packager helpfully left lying around.  All in all, a very successful and satisfying experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshmatthews.net/blog/2010/02/cross-compiling-with-mingw-on-fedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

