View previous topic :: View next topic |
Author |
Message |
atrader42 n00b

Joined: 02 Jun 2004 Posts: 56
|
Posted: Tue Nov 09, 2004 6:04 am Post subject: Can't get genkernel to use distcc [RESOLVED] |
|
|
I have distcc working properly with emerge and make, but I can't seem to get genkernel to use it. I have tried Code: | CC="distcc" genkernel all | and Code: | genkernel --utils-cc="distcc" | but it just uses gcc. My PATH variable is /bin:/usr/lib/distcc/bin:/usr/bin....
What am I missing?
Also, genkernel claims to be adding the new kernel to grub.conf, but doesn't actually do it. Any help would be appreciated. Thanks.
EDIT: Oops. I missed the kernel-cc flag for genkernel. with kernel-cc and utils-cc set to distcc, it used it. As an aside, it doesn't look at make.conf for hosts, so I also had to manually set DISTCC_HOSTS.
Last edited by atrader42 on Wed Nov 10, 2004 6:37 am; edited 1 time in total |
|
Back to top |
|
 |
desertstalker Apprentice

Joined: 18 Sep 2004 Posts: 209
|
Posted: Tue Nov 09, 2004 6:57 am Post subject: |
|
|
Distcc will not work with all compiles and I would think that the kernel is one of these. |
|
Back to top |
|
 |
blueillusion Tux's lil' helper

Joined: 17 Jun 2004 Posts: 138
|
Posted: Tue Nov 09, 2004 6:57 am Post subject: |
|
|
i think the best solution would be to scrap genkernel alltogether. compiling your own kernel isnt hard at all. It may take a couple of tries to get it perfect, but its so much better to have your own kernel. Less problems in the long run. |
|
Back to top |
|
 |
atrader42 n00b

Joined: 02 Jun 2004 Posts: 56
|
Posted: Tue Nov 09, 2004 7:00 am Post subject: |
|
|
Kernel compiles work fine with distcc when I do them manually and I have been able to use distcc with genkernel in the past. The issue is that genkernel just isn't using distcc. I can compile my own, but genkernel is a convenient tool for automating it. |
|
Back to top |
|
 |
|