<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://buffalo.nas-central.org/w/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Setting up DistCC with crosscompile for your KuroBox - Revision history</title>
		<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sun, 19 May 2013 07:34:55 GMT</lastBuildDate>
		<item>
			<title>Peach:&amp;#32;precisation</title>
			<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;diff=25211&amp;oldid=prev</link>
			<description>&lt;p&gt;precisation&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:23, 16 October 2008&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Articles|Kurobox|Development}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Articles|Kurobox|Development}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''NOTE''': if you're running [http://www.gentoo.org gentoo] you can follow the very good guide on CrossCompiling together with DistCC [http://www.gentoo.org/doc/en/cross-compiling-distcc.xml]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''NOTE''': if you're running [http://www.gentoo.org gentoo] you can follow the very good guide on CrossCompiling together with DistCC [http://www.gentoo.org/doc/en/cross-compiling-distcc.xml] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which is up-to-date.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-19 07:34:55 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 16 Oct 2008 18:23:19 GMT</pubDate>			<dc:creator>Peach</dc:creator>			<comments>http://buffalo.nas-central.org/wiki/Talk:Setting_up_DistCC_with_crosscompile_for_your_KuroBox</comments>		</item>
		<item>
			<title>Peach:&amp;#32;added NOTE for gentoo users</title>
			<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;diff=25206&amp;oldid=prev</link>
			<description>&lt;p&gt;added NOTE for gentoo users&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:21, 16 October 2008&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Articles|Kurobox|Development}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Articles|Kurobox|Development}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''NOTE''': if you're running [http://www.gentoo.org gentoo] you can follow the very good guide on CrossCompiling together with DistCC [http://www.gentoo.org/doc/en/cross-compiling-distcc.xml]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically this should work for any host architecture provided that you make the appropriate adjustments.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically this should work for any host architecture provided that you make the appropriate adjustments.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-19 07:34:55 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 16 Oct 2008 18:21:56 GMT</pubDate>			<dc:creator>Peach</dc:creator>			<comments>http://buffalo.nas-central.org/wiki/Talk:Setting_up_DistCC_with_crosscompile_for_your_KuroBox</comments>		</item>
		<item>
			<title>Ramuk at 20:34, 15 July 2007</title>
			<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;diff=13150&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:34, 15 July 2007&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Articles|Kurobox|Development}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically this should work for any host architecture provided that you make the appropriate adjustments.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically this should work for any host architecture provided that you make the appropriate adjustments.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-19 07:34:55 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sun, 15 Jul 2007 20:34:11 GMT</pubDate>			<dc:creator>Ramuk</dc:creator>			<comments>http://buffalo.nas-central.org/wiki/Talk:Setting_up_DistCC_with_crosscompile_for_your_KuroBox</comments>		</item>
		<item>
			<title>Ramuk:&amp;#32;1 revision(s)</title>
			<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;diff=12578&amp;oldid=prev</link>
			<description>&lt;p&gt;1 revision(s)&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:56, 12 July 2007&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2013-05-19 07:34:55 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 12 Jul 2007 19:56:31 GMT</pubDate>			<dc:creator>Ramuk</dc:creator>			<comments>http://buffalo.nas-central.org/wiki/Talk:Setting_up_DistCC_with_crosscompile_for_your_KuroBox</comments>		</item>
		<item>
			<title>ChojinDSL at 14:07, 27 November 2006</title>
			<link>http://buffalo.nas-central.org/w/index.php?title=Setting_up_DistCC_with_crosscompile_for_your_KuroBox&amp;diff=12577&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;My desktop system is a x86 AthlonXP 2600 system. Therefore this howto will be specific to cross-compiling on a x86 host for a powerpc target.&lt;br /&gt;
Theoretically this should work for any host architecture provided that you make the appropriate adjustments.&lt;br /&gt;
&lt;br /&gt;
First things first:&lt;br /&gt;
&lt;br /&gt;
Keep in mind that my Kuro Box uses U-boot and runs a 2.6 kernel. Furthermore I use gcc4.1.1 and glibc-2.4.&lt;br /&gt;
&lt;br /&gt;
Even if you dont use U-boot and run the stock 2.4 kernel, you could still crosscompile, but since you need the same gcc and glibc version on both system, I can imagine this could be quite a hassle on a up to date gentoo system.&lt;br /&gt;
&lt;br /&gt;
On both your desktop system and your kuro box, the gcc and glibc versions should be mostly identical. What I mean by that is as follows:&lt;br /&gt;
#Host: glibc-2.4  Kuro: glibc-2.4-r1    OK&lt;br /&gt;
#Host: glibc-2.4  Kuro: glibc-2.3       NOT OK&lt;br /&gt;
&lt;br /&gt;
Ok, once that is out of the way, emerge distcc on both the kuro and your desktop.&lt;br /&gt;
Just follow the gentoo distcc guide:&lt;br /&gt;
[http://www.gentoo.org/doc/en/distcc.xml Gentoo DistCC Guide]&lt;br /&gt;
&lt;br /&gt;
Once that is out of the way, emerge crossdev on your desktop system.&lt;br /&gt;
Just follow the guide on gentoo.org for details:&lt;br /&gt;
[http://www.gentoo.org/doc/en/cross-compiling-distcc.xml Cross-compiling with DistCC]&lt;br /&gt;
&lt;br /&gt;
The thing to remember here is as follows:&lt;br /&gt;
When considering the cross-compiling howto, replace every instance of &amp;quot;'''sparc-unknown-linux-gnu'''&amp;quot; with &amp;quot;'''powerpc-unknown-linux-gnu'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the crossdev instructions only apply to your desktop, not the kurobox!&lt;br /&gt;
In other words, you can emerge and setup crossdev on all of your HOST PCs if you have more than one.&lt;br /&gt;
&lt;br /&gt;
Crossdev is basically a tool which will install a cross-compiling environment in a portage overlay, e.g. /usr/local/portage.&lt;br /&gt;
&lt;br /&gt;
Crossdev accepts different flags which allow you to define which gcc, glibc, binutils and linux-headers version you want to build for your cross-compilation toolchain.&lt;br /&gt;
&lt;br /&gt;
These versions should be identical to the versions on your kuro-box.&lt;br /&gt;
&lt;br /&gt;
In my case I had to run crossdev like so:&lt;br /&gt;
#crossdev -v --binutils 2.17 --gcc 4.1.1 --libc 2.4-r3 --kernel 2.6.16 --target powerpc-unknown-linux-gnu&lt;br /&gt;
&lt;br /&gt;
This will step will take a while, since you are compiling a complete and separate toolchain.&lt;br /&gt;
&lt;br /&gt;
Once it finishes, adjust your DISTCC_HOSTS on both your desktop and your kurobox, start the distcc daemons and fire away.&lt;br /&gt;
&lt;br /&gt;
I would suggest to start with emerging something small and non-critical, like iptraf. That way you can see if compiles at all or not and you dont risk installing a buggy version of something important.&lt;/div&gt;</description>
			<pubDate>Mon, 27 Nov 2006 14:07:54 GMT</pubDate>			<dc:creator>ChojinDSL</dc:creator>			<comments>http://buffalo.nas-central.org/wiki/Talk:Setting_up_DistCC_with_crosscompile_for_your_KuroBox</comments>		</item>
	</channel>
</rss>