distcc的使用

服务端:

distcc-3.2rc1.tar.gz  来自http://download.csdn.net/download/esrrhs/3935502

./configure;make;make install;

 

客户端:

yum install distcc

 

~/.bash_profile中的动作:

export CC=distcc
export CXX="distcc g++"
alias make="make -j 8"
export DISTCC_HOSTS='192.168.1.4 192.168.1.91 192.168.1.47 192.168.1.21 192.168.1.84'

你可能感兴趣的:(distcc的使用)