Changes

Jump to: navigation, search

User:Cgomes7/Firefox Build

1,301 bytes added, 14:11, 19 January 2011
no edit summary
'''Resources'''
*[https://developer.mozilla.org/en/build_documentation Build Documentation]
*[http://www.7-zip.org/ 7-zip]
start-msvc10.bat (VS 2010)
- The batch file will open a command line window. Navigate to the C: directory using the command below. <pre>cd /c</pre> - Download the source code for the release version you would like to build. In this case, I downloaded the source code most recent version. The command below will copy the most recent version and place it in "c/mozilla-central'. Navigate into the the directory using the second command. <pre>hg clone http://hg.mozilla.org/mozilla-central/cd mozilla-central</pre> - Next we must create a .mozconfig file. This file will contain build options that will be used by the make file. The commands below will create a mozconfig file and add in the necessary commands for a Firefox default configuration. more options can be found in the[ftphttps://ftpdeveloper.mozilla.org/puben/mozillaConfiguring_Build_Options Build Options Documention].<pre>echo '.org$topsrcdir/firefoxbrowser/releasesconfig/4.0b9mozconfig' > mozconfig echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt' >> mozconfig /source/ directoy were Firefox 4will be built echo 'ac_add_options --disable-tests'</pre> - Now all that is left is to build.0b9] <pre>make -f client.mk</pre> - Using these configurations, the build should take about 1 hour. Once the build is complete the executable can be found in C:\mozilla-central\ff-opt\dist\bin\firefox.exe. - Extract Opening the executable may open an existing version of Firefox source filesinstalled on your computer. If so, create a shortcut on your desktop. <pre>Right click firefox.exe > Send to > Desktop(create shortcut)</pre> - Open using the shortcut. Now your done.  [[File:minefieldBuild.jpg]]
1
edit

Navigation menu