From mint-bounce@lists.fishpool.fi Tue Feb 2 16:08:31 2010 Message-ID: <4B6893BE.2040102@atari-source.org> Date: Tue, 02 Feb 2010 16:06:06 -0500 From: Mark Duckworth User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] Gentoo FreeMiNT References: <201002022206.51229.oak@helsinkinet.fi> <4B688799.40006@atari-source.org> <201002022259.12939.oak@helsinkinet.fi> In-Reply-To: <201002022259.12939.oak@helsinkinet.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: mduckworth@atari-source.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: On 2/2/10 3:59 PM, Eero Tamminen wrote: > Hi, > > On Tuesday 02 February 2010, Mark Duckworth wrote: > >>> One possibility would be to do the RPM builds in e.g. Aranym using >>> distcc which calls the cross-compiler on the host machine to do the >>> actual C/C++ compilation. >>> >> My initial tests show that this works fine too. I just haven't had a >> chance to finish it and prove that it works perfectly. Plus my mac pro >> at work is more than fast enough for my rpm building needs for now. >> > If you need to do frequent re-compiles and have the disk to spare, you could > use also ccache to speed up re-compiles, either at the host or Atari side. > > It takes md5 hashes of pre-processed sources (and compiler flags I hope) > and if that matches hash for something it has already compiled and is still > in the cache (the size is configurable), it will return gcc a previously > compiled object file. On host (distcc) side the md5 calculation is probably > a bit faster... > > > - Eero > > > Under intense testing I found the ccache did some very bad things and introduced corruption. I didn't trace down the source. Not recommended at this time by me. ccache running on a host with distcc however may work just fine. Thanks, Mark