667
edits
Changes
Fixed various typos and formatting issues.
=What is this?=
This is a tutorial to get distcc to compile Mozilla Firefox on Windows using cygwin.
=Requirements=
# Window machines. For distcc to be of any use, there should be at least 2 machines
# Cygwin. You will need gcc to build distcc. We built build using gcc-3.4.4
# [http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites Mozilla requirements]
# Patience
=Building distcc=
Checkout, build, and install the distcc source
Checkout the mozilla Mozilla source. If you are using the lastest latest version of trunk, than you are fine. If you are building 2.0.0.3 or below, you need to apply a silly [https://bugzilla.mozilla.org/show_bug.cgi?id=374563 patch].
=MOZCONFIG=
Currently, distcc does not transmit debug .pdb files(i.e., it can only send back one file). So you cannot currently do a debug build. Here is a sample MOZCONFIG file. All you need to do is modify the object directory (MOZ_OBJDIR).
'''Note the last line''', which is required for any MOZCONFIG file that wants to build using distcc.
=Environment=
export DISTCC_CL_HOSTS="localhost 10.0.0.2 10.0.0.4"
<!--
This section explains some useful environment variables that you can use.
=Distcc Daemon=