1 |
On Sun, 02 May 2004 03:00:02 -0700 Jeremy Huddleston |
2 |
<eradicator@g.o> wrote: |
3 |
| Could someone point me to a good cross-compiler distcc howto? In |
4 |
| about a month, my 5 proc x86 render farm will be jobless, and I'd like |
5 |
| to turn it into a compile farm with support for my sparc and amd64 |
6 |
| machines... |
7 |
|
8 |
emerge crossdev |
9 |
edit /etc/crossdev/crossdev.conf : |
10 |
USE_SANDBOX="no" |
11 |
crossdev --kernel sparc |
12 |
|
13 |
cp /etc/init.d/distccd /etc/init.d/distccd-sparc |
14 |
edit: |
15 |
inside start() replace PATH="$(gcc-config --get-bin-path): |
16 |
with PATH="/blah/sparc/sparc-unknown-linux-gnu/bin: |
17 |
|
18 |
cp /etc/conf.d/distccd /etc/conf.d/distccd-sparc |
19 |
edit: |
20 |
DISTCCD_OPTS="--port 3633" |
21 |
DISTCCD_PIDFILE=/var/run/distccd/distccd-sparc.pid |
22 |
DISTCC_DIR="/var/tmp/distccd-sparc" |
23 |
|
24 |
/etc/init.d/distccd-sparc start |
25 |
|
26 |
On the clients, don't forget to specify the alternate port when you set |
27 |
up distcc hosts (myserver/3:3633 for example). |
28 |
|
29 |
Wipe hands on pants. |
30 |
|
31 |
-- |
32 |
Ciaran McCreesh, Gentoo XMLcracy Member G03X276 |
33 |
(Sparc, MIPS, Vim, si hoc legere scis nimium eruditionis habes) |
34 |
Mail: ciaranm at gentoo.org |
35 |
Web: http://dev.gentoo.org/~ciaranm |