rebuild toolchain faster without upgrading hardware

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

rebuild toolchain faster without upgrading hardware

Post by rinco »

I started looking into ways I can rebuild the toolchain faster. And I need look no further than the borders of Canberra to find:

http://distcc.samba.org/ - network distributed
http://ccache.samba.org/ - cached compiling

For distcc to work, add -j4 to relevant $MAKE in toolchain.sh and start distccd everywhere. Then build like this:
CC="ccache gcc" PSP_CC="ccache distcc psp-gcc" ./toolchain.sh
I found both tools are in fink (unstable), cygwin and debian.
Post Reply