Difference between revisions of "User:Minooz/OSD600/buildFF"

From CDOT Wiki
Jump to: navigation, search
Line 20: Line 20:
  
 
First, I tried to build firefox on Vista:
 
First, I tried to build firefox on Vista:
 
+
: Intel(R) Processor D CPU 3.20 GHz
: Intel Processor Dual Core 2.0 Ghz
 
 
: 2GB DDR2 memory  
 
: 2GB DDR2 memory  
 
: Windows Vista 32bit
 
: Windows Vista 32bit
Line 33: Line 32:
  
 
:<code>ac_add_options --enable-application=browser</code>
 
:<code>ac_add_options --enable-application=browser</code>
:<code>ac_add_options --disable-optimize:<code>
+
:<code>ac_add_options --disable-optimize</code>
 
:<code>ac_add_options --enable-debug </code>
 
:<code>ac_add_options --enable-debug </code>
 +
 +
 +
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
 +
 +
and this was my .mozconfig:
 +
:<code>. $topsrcdir/browser/config/mozconfig</code>
 +
:<code>mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release</code>
 +
:<code>mk_add_options MOZ_MAKE_FLAGS="-j2"</code>
 +
:<code>mk_add_options MOZ_CO_PROJECT=browser</code>
 +
 +
:<code>ac_add_options --enable-application=browser</code>
 +
:<code>ac_add_options --disable-optimize</code>
 +
:<code>ac_add_options --enable-debug </code>
 +
 +
:<code>ac_add_options --disable-accessibility</code>
 +
:<code>ac_add_options --disable-tests </code>
 +
:<code>ac_add_options --disable-vista-sdk-requirements </code>

Revision as of 21:43, 19 January 2011

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

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
ac_add_options --disable-accessibility
ac_add_options --disable-tests
ac_add_options --disable-vista-sdk-requirements