<?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>Frozentux &#187; eclipse</title>
	<atom:link href="http://www.frozentux.net/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozentux.net</link>
	<description>Yet another site</description>
	<lastBuildDate>Thu, 13 Oct 2011 19:37:12 +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>Switching GNU toolchains in eclipse &#8212; the easy way</title>
		<link>http://www.frozentux.net/2008/10/switching-gnu-toolchains-in-eclipse-the-easy-way/</link>
		<comments>http://www.frozentux.net/2008/10/switching-gnu-toolchains-in-eclipse-the-easy-way/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 19:48:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[GNU]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=191</guid>
		<description><![CDATA[This is a method of switching to a different toolchain that I found in eclipse. Basically, my goal was to get eclipse to use a secondary toolchain. Primarily in my first step, I tried making eclipse use a crosscompiling gnu toolchain. Doing this the &#8220;right&#8221; way seems to entail writing plugins eclipse, and to write [...]]]></description>
			<content:encoded><![CDATA[<p>This is a method of switching to a different toolchain that I found in eclipse. Basically, my goal was to get eclipse to use a secondary toolchain. Primarily in my first step, I tried making eclipse use a crosscompiling gnu toolchain.</p>
<p>Doing this the &#8220;right&#8221; way seems to entail writing plugins eclipse, and to write lots of XML configurations and so forth. Not having the luxury of infinite time and money (yet wanting a managed build), but rather being result driven, I finally managed to solve it partially with a hack.</p>
<p>My secondary goal now is to make the build work with a completely &#8220;non-gnu toolchain&#8221; (renesas sh compiler), I will try to hack together this in the upcoming days. I&#8217;ll get back to this topic again, once I know if it works or not. In the meantime, this is how I got it to compile with &#8220;non-standard&#8221; toolchain, and &#8220;standard&#8221; cygwin toolchain at the same time.</p>
<ol>
<li>Install the toolchain somewhere.</li>
<li>Setup your PATH with the /bin/ directory in it.
<ol>
<li>Start -> Control Panel -> System.</li>
<li>Enter the Advanced tab.</li>
<li>Click Environment Variables.</li>
<li>Find the PATH variable in System variables.</li>
<li>Edit and add ;c:pathtoyourtoolchain at the end of it.</li>
<li>OK</li>
<li>OK</li>
</ol>
</li>
<p>
<li>Create a new Build Configuration (Target for example).
<ol>
<li>Right click the project in the Project Explorer.</li>
<li>Build Configurations -> Manage&#8230;</li>
<li>New&#8230;</li>
<li>Write name &#8220;Target&#8221; and a description.</li>
<li>Copy settings from another target that might contain decent default values.</li>
<li>Ok</li>
<li>Ok</li>
</ol>
</li>
<p>
<li>Edit the Settings for the &#8220;Target&#8221; Build Configuration.
<ol>
<li>Right click the project in the Project Explorer.</li>
<li>Choose Properties.</li>
<li>Go to C/C++ Build -> Settings.</li>
<li>Choose the right Configuration at the top (Target in our case).</li>
<li>For each heading in Tool Settings (GCC Assembler, Cygwin C Compiler, Cygwin C Linker)
<ol>
<li>Click the heading.</li>
<li>Edit the Command field (for example, instead of using gcc, you might be using arm-elf-gcc or m68k-uclinux-gcc).</li>
<li>Apply.</li>
</ol>
</li>
<p>
<li>OK.</li>
</ol>
</li>
<p>
<li>Try to build the new &#8220;Target&#8221; Build.</li>
</ol>
<p><toolchain>Hint: A problem I ran into was that my new toolchain couldnt understand/interpret unix style paths properly and not hinting very openly about it. Ie, I got &#8220;missing header files&#8221; all over the build. Turning on verbose (-v flag) in the C/C++ Builds -> Settings, and then under Cygwin C Compiler -> Miscellaneous gave me an error like &#8220;ignoring nonexistent directory&#8221;, which turned out that instead of using &#8220;../inc/&#8221; I had to use &#8220;..inc&#8221;.</toolchain></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/10/switching-gnu-toolchains-in-eclipse-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow grasswidow evening</title>
		<link>http://www.frozentux.net/2008/08/slow-grasswidow-evening/</link>
		<comments>http://www.frozentux.net/2008/08/slow-grasswidow-evening/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 10:36:00 +0000</pubDate>
		<dc:creator>Oskar Andreasson</dc:creator>
				<category><![CDATA[Configuration Management]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frozentux.net]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://fs1/fs1/?p=164</guid>
		<description><![CDATA[What do you do when you are home alone a saturday evening? Personally, I web2.0&#8242;d my life (i got facebook, a blog, remember the milk, dipity, evernote, and decided to rewrite/update my webpage). Also, I really got started building the Fokker DR.1. To update frozentux.net, I screwed around a bit with eclipse pdt. I want [...]]]></description>
			<content:encoded><![CDATA[<p>What do you do when you are home alone a saturday evening? Personally, I web2.0&#8242;d my life (i got facebook, a blog, remember the milk, dipity, evernote, and decided to rewrite/update my webpage). Also, I really got started building the Fokker DR.1.</p>
<p>To update frozentux.net, I screwed around a bit with eclipse pdt. I want to do this since I think the whole site looks pretty awful. I was ok with it &#8220;back then&#8221;, but not any more. I&#8217;ve been using eclipse for a few months to code c, c++, qt and I&#8217;ve grown rather fond of it. My first time with eclipse left me&#8230; well, let&#8217;s just say i went back for a few years to vim and loved it. Still wish there was a decent vim/eclipse plugin as i love vims command/edit mode.</p>
<p>I digress. Basically, what I did was Install subversion, make a copy of frozentux.net in subersion and a few other projects in there. I setup subversion with apache2. I know I suck that haven&#8217;t done this before. After that, I installed pdt, subclipse and a few other modules in eclipse and got it all working together. I think I might like the subclipse module, but still got a few things I need to find out.</p>
<p>I&#8217;m gonna get started on rewriting frozentux today I hope. Now, going for a walk first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozentux.net/2008/08/slow-grasswidow-evening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

