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

From CDOT Wiki
Jump to: navigation, search
(Created page with ' * Build firefox ==Firefox== ===Firefox Build=== ===Firefox Bug===')
 
Line 1: Line 1:
 
 
  
 
* [[User:Minooz/OSD600/buildFF | Build firefox ]]
 
* [[User:Minooz/OSD600/buildFF | Build firefox ]]
Line 6: Line 4:
  
 
===Firefox Build===
 
===Firefox Build===
 +
For building firefox I followed the instructions on [http://annasob.wordpress.com/category/build/ annasob's blog]on how to build firefox on different platforms, also looked at build instructions and prerequisites @[https://developer.mozilla.org/En/Developer_Guide/Build_Instructions Mozilla Developing Center(MDC)].
 +
I didn't figure out why it was so slow though on both Vista and Win 7.
 +
 +
First, I tried to build firefox on Vista:
 +
: Intel(R) Processor D CPU 2.17 GHz
 +
: 2GB DDR2 memory
 +
: Windows Vista 32bit
 +
: Visual Studio 2010
 +
 +
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>
 +
 +
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 these [https://developer.mozilla.org/En/Windows_SDK_versions recommendations] to SDK 7, and the .Net Framework to 4. Also I needed to change the SDK version in the SDK configuration tool to 7.1.
  
 +
At the end, the build was successfully done after 2 hours on Win 7 and more than 4 hours on Vista!
 +
[[File:Minefield_final.jpg|thumb|none|300px]]
  
  
 
===Firefox Bug===
 
===Firefox Bug===

Revision as of 22:15, 6 April 2011

Firefox

Firefox Build

For building firefox I followed the instructions on annasob's blogon how to build firefox on different platforms, also looked at build instructions and prerequisites @Mozilla Developing Center(MDC). I didn't figure out why it was so slow though on both Vista and Win 7.

First, I tried to build firefox on Vista:

Intel(R) Processor D CPU 2.17 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 these recommendations to SDK 7, and the .Net Framework to 4. Also I needed to change the SDK version in the SDK configuration tool to 7.1.

At the end, the build was successfully done after 2 hours on Win 7 and more than 4 hours on Vista!

Minefield final.jpg


Firefox Bug