distcc is a tool for speeding up compilation of source code by using distributed computing over a computer network. 此工具就是可以把編譯進行分散式的處理,相當方便快速。 利用 3 台 pc 實現 distcc ... 1. 先安裝好 apt-get install distcc 2. 在每台 pc 時,開啟 distcc daemon server # distccd --daemon --allow 127.0.0.1 --allow 10.100.90.0/24 3. time make -j10 CC="distcc arm-arago-linux-gnueabi-gcc" CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm uImage real 1m48.143s user 5m55.716s sys 0m12.236s export DISTCC_HOSTS="localhost 10.100.90.232 10.100.90.240" time make -j10 CC="distcc arm-arago-linux-gnueabi-gcc" CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm uImage real 1m4.804s user 2m45.832s sys 0m8.844s export DISTCC_HOSTS="--randomize localhost 10.100.90.232 10.100.90.240,cpp,lzo" time distcc-pump make -j16 CC="distcc arm-arago-linux-gnueabi-gcc" CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm uImage real 0m59.147s user 2