Wednesday, November 26, 2008

Distribution Cross-Compiling

DistCC http://www.gentoo.org/doc/en/distcc.xml

1. Instal paket distcc

 # USE="gtk" emerge distcc

2. Edit file make.conf

 # nano -w /etc/make.conf
MAKEOPTS="-jn" -> n = (2 x CPU) + 1
FEATURES="distcc"

3. Setting host tempat proses akan dialihkan

 # /usr/bin/distcc-config --set-hosts "localhost host1 host2 ..."

4. Konfigurasi file distccd

 # nano /etc/conf.d/distccd
--allow [host1] [host2] -> IP PC yang diberi hak akses
--listen localhost -> PC yang bersangkutan
--log-file ...

5. Memasukkan link direktori distcc ke dalam default akses

 # export PATH="/usr/lib/ccache/bin: /usr/libdistcc/bin:${PATH}"

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)