Tuesday, September 23, 2008

Building Firefox and Thunderbird on Windows Vista with Visual2008

I have successfully builded Firefox and Thunderbird on Windows Vista. My system configuration are Windows Vista Home, 2 GB RAM and Visual Studio 2008.

Steps To Follow for Windows Vista and Visual Studio 2008:
  1. Download MozillaBuildSetup.exe to install mercurial and extract all required programs.
  2. Go to the mozilla-build folder in "C:", if you have selected default directory to install mercury.
  3. Run start start-msvc9.bat .
  4. On the command prompt execute "hg clone http://hg.mozilla.org/comm-central/ src", it will take a longer time depending on the internet speed.
  5. Then change directory to "src".
  6. Ececute "python client.py checkout". This also might take few minutes.
  7. Now it's time to make a .mozconfig .
Here is my .mozconfig file. Anyone can copy it and make the build.
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tbird-debug
mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --disable-optimize
ac_add_options --enable-debug
mk_add_options MOZ_MAKE_FLAGS=-j5
8. Execute command "make -f client.mk build".
9. I think it sohuld be all.

If you have further questions email me at chinmay_patel@ymail.com .

1 comment:

tjbro said...

Hey thanks for this blog, it really helped me realize I was totally over complicating the Thunderbird build.