distcc動作実現
かなり使い方が違っている様であるが、
http://www.ibm.com/developerworks/jp/linux/library/l-distcc/index.html
を読んでみた。
クライアントとサーバー側では、gccバージョンがx.xまで一致している必要がある
との記述がある。
まずUSL-5Pにもセルフ開発環境をインストール。
2.6.17.4のソースを展開して、コンパイルテストを行う。
configの設定後、make zImage(セルフコンパイル)では、コンパイルが順に進んでいく。
しかし、make zImage CC=distcc(クロスコンパイル)ではやはり止まってしまう。
$ make zImage CC=distcc SYMLINK include/asm-sh/cpu -> include/asm-sh/cpu-sh4 SYMLINK include/asm-sh/mach -> include/asm-sh/landisk CHK include/linux/version.h make[1]: `include/asm-sh/machtypes.h' is up to date. CC arch/sh/kernel/asm-offsets.s cc1: error: invalid option '4-nofpu' distcc[2347] (dcc_writex) ERROR: failed to write: Connection refused distcc[2347] (dcc_writex) ERROR: failed to write: Broken pipe distcc[2347] Warning: failed to distribute arch/sh/kernel/asm-offsets.c to 192.168.0.10, running locally instead cc1: error: invalid option '4-nofpu' distcc[2347] ERROR: compile arch/sh/kernel/asm-offsets.c on localhost failed make[1]: *** [arch/sh/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2