<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>error: unrecognized command line option &#39;-static-libstdc++&#39;</title>
		<link>http://www.allegro.cc/forums/view/612398</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 15 Apr 2013 02:17:06 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello folks,<br />I&#39;m having trouble getting Allegro running with Code::Blocks 12.11<br />I followed the tutorial here:</p><p><a href="http://wiki.allegro.cc/index.php?title=Windows_Vista,_Code::Blocks_10.05_and_Allegro_5">http://wiki.allegro.cc/index.php?title=Windows_Vista,_Code::Blocks_10.05_and_Allegro_5</a></p><p>and downloaded the 5.0.8 version for MinGW 4.7.0. Linking all the relevant<br />libraries, etc. I tried to compile the program, but it gave me this error:</p><p><span class="source-code">mingw32-g<span class="k3">+</span><span class="k3">+</span>.exe: error: unrecognized command <a href="http://www.allegro.cc/manual/line"><span class="a">line</span></a> option <span class="s">'-static-libstdc++'</span></span></p><p>Anyone knows what&#39;s up with that and how to fix it?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Xenowar)</author>
		<pubDate>Fri, 12 Apr 2013 04:03:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I dunno. Maybe they changed it again. -static-libstdc++ works fine for me on MinGW 4.5.0. :shrug:
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 12 Apr 2013 06:59:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>C::B comes bundled with <b>TDM-GCC 4.7.1</b>, which has some peculiar differences with vanilla gcc 4.7.0, namely the way it handles statc and dynaminc c-lib linking.</p><p>TDM-GCC 4.7.1 <b>defaults</b> to static linking.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Fri, 12 Apr 2013 14:45:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm, alright, I removed the static parts -static-libgcc -static-libstdc++ and now I get this error:</p><p>ld.exe cannot find -lgcc_eh
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Xenowar)</author>
		<pubDate>Fri, 12 Apr 2013 17:46:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Same as before I think, in my TDM-GCC 4.7.1 setup I do not have those three options at all and it compiles and run okay.</p><p>EDIT: only for allegro <b>dynamic</b> builds thou, I haven&#39;t bothered to link all the libraries other than the C runtime, &#39;cause it&#39;s needed only for a quick hack for another thread here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Fri, 12 Apr 2013 19:10:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I kinda fixed it. I just threw out the MinGW 4.7.1 and used 4.5.0 instead and <br />downloaded the allegro 5.0.8 files for MinGW 4.5.0.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Xenowar)</author>
		<pubDate>Sun, 14 Apr 2013 18:42:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, binaries for 4.7.0 DO work with TDM-GCC 4.7.1, I personally tested it (to a very limited extent....so you just took the longer route to me. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Mon, 15 Apr 2013 02:17:06 +0000</pubDate>
	</item>
</rss>
