Building Mozilla on Windows Vista and VS2008.
1. Install your Visual Studio - VS2008 (older versions are supported as well)
2. Install Microsoft Platform SDK depending on what Windows you're on
3. Install MozillaBuildTool from (http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe )
4. Setup your Mozilla configuration by creating a file called .mozconfig in your installed source root folder
This is configuration for building firefox
ac_add_options --enable-application=browser
mk_add_options MOZ_CO_PROJECT=browser
5. Choose your Visual Studio version by executing this is c:\mozilla_build (default directory for installing MozillaBuildTool above)
start-msvc6.bat
start-msvc71.bat (VS 2003)
start-msvc8.bat (VS 2005)
start-msvc9.bat (VS 2008)
6.Run make -f client.mk build
7. Once your firefox gets build it should be in the firefox-3.0.5-source\mozilla\dist\bin\firefox.exe. Now you may try to run your build version of firefox by double clicking on it.
Unfortunately the above instruction does not work for firefox build 3.5
Comments