I have put together an initial draft of a unified Mozilla-build package. It is available (temporarily) on my website: mozilla-build.zip (55MB). It contains everything needed to build Mozilla on Windows except the Microsoft Visual C++ compiler and the JDK (only required for XULRunner).
Using MSYS with gmake 3.81 requires one code change, in bug 345482: I’m hoping to get this fix backported to all the active branches soon.
I would like to get some testing of this package, to see if it has missing pieces or causes builders any problems. Please report success or failure in blog comments.
- Install MS Visual C++. Do not add paths to the environment when the installer gives you the option.
- If you already have MSVC installed, check your environment and remove any references to it from PATH, INCLUDE, and LIB.
- Unzip the package to a path with no spaces in it: I recommend C:\ (it will unpack to C:\mozilla-build).
- Run start-msvc6.bat, start-msvc71.bat, or start-msvc8.bat. It should detect the installed location of MSVC from the registry, set up paths correctly, and launch an MSYS shell.