User:Minooz/OSD600/buildFF

From CDOT Wiki
< User:Minooz‎ | OSD600
Revision as of 22:46, 19 January 2011 by Minooz (talk | contribs)
Jump to: navigation, search

Build Firefox

  • Links:
Real_World_Mozilla_Build_Mozilla_Lab
Mozilla Community
Build instructions @ developer.mozilla.org
Windows Prerequisites
Blogs:
Anna:annasob Blog1 - old blog
Scott:[1]
FAQ
Fall 2007
Fall 2010
DPS909
  • Problems:
Windows SDK configuration
Needed to upgrade to Framework 4 and SDK 7

I followed the instructions on annasob's blog on how to build firefox on different platforms, also took a look at Build instructions @ developer.mozilla.org.

First, I tried to build firefox on Vista:

Intel(R) Processor D CPU 3.20 GHz
2GB DDR2 memory
Windows Vista 32bit
Visual Studio 2010

and this was my .mozconfig:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j2"
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug

Then I started to build it on Windows 7:

Intel(R) Processor D CPU 3.20 GHz
4GB DDR2 memory
Windows 7 64bit
Visual Studio 2008

I tried to build based on the same .mozconfig file, but the first error I got was related to SDK. I needed to upgrade SDK version based on theserecommendations to SDK 7, and then change the SDK version in the SDK configuration tool.

At the end, the build was successfully done after 2 hours on Win 7 and on Vista it's not completed yet after almost 4 hours!

Minefield final.jpg