[distcc] HOWTO rpm/rpmbuild + distcc + ccache?

Bob Tanner tanner at real-time.com
Thu Oct 24 05:40:33 GMT 2002


I'm wondering if anyone has "integrated" rpm/rpmbuild + distcc + ccache?

I'd prefer not to alter all the .spec file in the existing rpms, if possible.

I post here (distcc) because I successfully was able to get ccache to work with
rpm without any changes to the .spec files.

I did the following:

% ln -s /usr/bin/ccache ~/bin/gcc
% ln -s /usr/bin/ccache ~/bin/g++
% ln -s /usr/bin/ccache ~/bin/i386-redhat-linux-g++
% ln -s /usr/bin/ccache ~/bin/i386-redhat-linux-gcc

Then I put ~/bin/ as the first element in my $PATH env variable.

Is there something similar I can do with distcc?

The documentation says it should be CC="ccache distcc", so the symlink trick
doesn't work anymore.

Any help would be appreciated.

-- 
Bob Tanner <tanner at real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288



More information about the distcc mailing list