{"id":20,"date":"2005-08-16T22:48:44","date_gmt":"2005-08-17T02:48:44","guid":{"rendered":"http:\/\/blog.chase.net.au\/?p=20"},"modified":"2005-08-16T22:48:44","modified_gmt":"2005-08-17T02:48:44","slug":"more-gentoo-and-distcc","status":"publish","type":"post","link":"http:\/\/blog.chase.net.au\/index.php\/2005\/08\/more-gentoo-and-distcc\/","title":{"rendered":"More gentoo and distcc"},"content":{"rendered":"<p>Changing the USE flags on <a href=\"http:\/\/www.gentoo.org\/\">Gentoo<\/a> can result in massive rebuilds.&nbsp; Changing the C compiler flags rebuilds everything.&nbsp; Normally this would be an overnight thing on my&nbsp;main PC but when it&rsquo;s my 750MHz Duron it becomes a real ordeal.&nbsp; So, to ease this pain I figured I&rsquo;d enlist the help of <a href=\"http:\/\/distcc.samba.org\/\">distcc<\/a> to allow me to use the CPU power of the 4 other 2GHz+ machines I have in the house in rebuilding the system &ndash; sounds easy, right?<\/p>\n<p>Yeah, thought so.&nbsp; Well, first attempt was using the 64 bit Gentoo installation I did on the weekend to cross compile for the x86 system.&nbsp; I set up the cross compiler without too much of a problem but unfortunately for me, it just didn&rsquo;t seem to work well with distcc, even on a quick &ldquo;Hello World&rdquo; test app.&nbsp; I&rsquo;m not about to rebuild my entire system unless I&rsquo;m sure that the compiler is working properly, so on to the next thing to try.<\/p>\n<p>I found a wiki article on how to cross compile on <a href=\"http:\/\/www.cygwin.com\/\">cygwin<\/a> with distcc.&nbsp; Again, I went through the steps of getting it working and got stumped at the &ldquo;look through the ebuild file for XXX&rdquo; and to my great surprise, XXX didn&rsquo;t exist!&nbsp; Oh well&hellip; on to the next thing to try!<\/p>\n<p>For my next trick, I installed Gentoo onto a <a href=\"http:\/\/www.vmware.com\/\">vmware<\/a> image and worked at getting distcc set up with that image.&nbsp; I even tried to get the same compiler options going, and 6 hours of installing Gentoo later, I was getting weird errors in the build about libraries suspiciously moving!&nbsp; Well, that was no good so I&rsquo;m now just falling back to the good old &ldquo;build the whole thing on the slow computer&rdquo; trick.&nbsp; Should be done sometime next week I guess&hellip;<\/p>\n<p>Well, lesson learned I guess.&nbsp; Don&rsquo;t mess with things that you haven&rsquo;t tested trying to get a &ldquo;quick fix&rdquo;.<\/p>\n<p>(Yes, I&rsquo;ve been geeky lately on this blog.&nbsp; I&rsquo;ll write something interesting one day soon I promise)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Changing the USE flags on Gentoo can result in massive rebuilds.&nbsp; Changing the C compiler flags rebuilds everything.&nbsp; Normally this would be an overnight thing on my&nbsp;main PC but when it&rsquo;s my 750MHz Duron it becomes a real ordeal.&nbsp; So, to ease this pain I figured I&rsquo;d enlist the help of distcc to allow me [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.chase.net.au\/index.php\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}