UseCcacheAndDistcc

= Use ccache and distcc =

If you have installed ccache and/or distcc you can use it in various ways.

ccache only
Either:


 * The preferred way is to change your PATH variable to the ccache symlinks for compiler calls.

export PATH=/where/your/ccache/symlinks/are:$PATH


 * If you use ccache only for opie (or if you are crosscompiling), set CCACHE variable.

export CCACHE=/where/your/ccache/binary/is

ccache and distcc
Either:


 * use CCACHE_PREFIX in combination with the program ccache must use

export CCACHE_PREFIX=distcc


 * or, if you use ccache with distcc only for opie build, set DISTCC variable to your distcc call.

export DISTCC=/where/your/distcc/is

use distcc only
Set for your opie-build the environment variable DISTCC.

export DISTCC=/where/your/distcc/is

Note about distcc and crosscompilation
Actually, it's easy to crosscompile Opie (or any other application) with distcc: you simply have to make sure your crosscompiler is in the same directory on every machine of your  distribution list.

Also, since the  binary is not often in the default , make sure that its full path is specified in the   variable - but if you are crosscompiling Opie, this is already done by the   file the build process will use, so don't worry about that.