[Slackbuilds-users] distcc [was: "make -j4"] which.. [was: linuxwacom slackbuild]

Robby Workman rworkman at slackbuilds.org
Fri Aug 8 18:40:04 UTC 2008


korgman wrote:
> Robby Workman wrote:
>> No, that's not the best (IMHO) way to do it.  While "make -j4" might
>> be appropriate for you, "make -j8" might be appropriate for me, and
>> "make -j2" might be best for someone else.  As I see it, the best
>> thing to do is use plain "make" -- that way, I (and everyone else)
>> can set MAKEFLAGS in my shell environment.
>>
>> Example:
>>
>> MAKEFLAGS="-j8" make
> 
> <hijack>
> Aha!
> 
> What about if I want compile with distcc? (CC=distcc)
> 
> MAKEFLAGS="CC=distcc -j8"?
> (I can make it "manually" but not automagically)
> </hijack>
> 
> Sorry for the hijack.


Well, you just hijacked an already hijacked thread, so I guess
it's okay :)

It's been a while since I've done anything with distcc, but I
*think* that will work.  I seem to recall having better success
putting symlinks in /usr/local/bin for gcc pointing to distcc,
but whatever works is fine :)

-RW


More information about the SlackBuilds-users mailing list