<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>allegro dev-cpp and gp2x</title>
		<link>http://www.allegro.cc/forums/view/585915</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 18 Jun 2006 21:50:04 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,</p><p>I just got a gp2x, and I wanted to port my allegro games for it. I downloaded the &quot;official sdk&quot; which comes with its own version of dev-cpp just for the gp2x.:D</p><p>However, its only setup for SDL...i want to use the allegro port George Foot made. I tried emailing George, but he hasnt answered yet (probably a really busy man)I also tried getting help at the gp2x board, but its not that great a board compared to this one <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> (its seems to not have enough expriced members) I just need help setting up Dev-Cpp to use the gp2x version of allegro.</p><p>Anyway, most people don&#39;t have this system, so I dont know if I can get help here, but I was hoping someone would know how to configure dev-cpp-for-gp2x to compile with allegro games. I tried using George Foot&#39;s directions for the command line with dev-cpp, but i didn&#39;t get it right. I don&#39;t want to use the command line either...so I would really appreciate the help so I can port my games asap.</p><p>Thanx in advance.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (KaBlammyman)</author>
		<pubDate>Wed, 14 Jun 2006 11:17:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think the SVN version of Allegro 4.2 will work out of the box, but I don&#39;t know that anyone has actually tried it.<br />As for Dev-C++, no idea.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Wed, 14 Jun 2006 13:06:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey, I got it to work! <br />1) I did not  use the pre-configured dev-cpp that came withe the sdk. I used the normal version.<br />2) I followed the wiki ( [url=<a href="http://wiki.gp2x.org/wiki/Using_Devcpp]http://wiki.gp2x.org/wiki/Using_Devcpp[/url">http://wiki.gp2x.org/wiki/Using_Devcpp]http://wiki.gp2x.org/wiki/Using_Devcpp[/url</a>] ) on getting dev-cpp to work for the gp2x, but heres what I did to make sure things worked. </p><p>I got it to work by making sure that dev-cpp found programs that were from the normal dev-cpp setup (make, gdb and windres) by actually going thru the directory in the programs tab, even though the wiki says they are &quot;No equivalent&quot;</p><p>Then I had to delete any *.o files i made when trying to compile stuff from the past. </p><p>Finially, in project -&gt; project options, then parameters tab (NOT tools -&gt;compilier options !!!)<br />I put the following in the linker:</p><div class="source-code snippet"><div class="inner"><pre><span class="k3">-</span>O2 <span class="k3">-</span>Wall <span class="k3">-</span>Werror <span class="k3">-</span>g `gp2x-allegro-config <span class="k3">-</span><span class="k3">-</span>cflags debug`
</pre></div></div><p>

and I put the following in the linker:
</p><div class="source-code snippet"><div class="inner"><pre>C:\Dev-Cpp\devkitGP2X\lib\liballeg.a
<span class="k3">-</span><span class="k1">static</span>
<span class="k3">-</span>lpthread
</pre></div></div><p>

Then I made sure I was NOT using teh default compilier, but the gp2x one i set up.</p><p>and bingo-bango, it worked.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (KaBlammyman)</author>
		<pubDate>Sun, 18 Jun 2006 21:50:04 +0000</pubDate>
	</item>
</rss>
