Open main menu

CDOT Wiki β

Changes

User:Cgomes7/Firefox Build

332 bytes added, 13:09, 19 January 2011
no edit summary
- The batch file will open a command line window. Navigate to the C: directory using the command "cd /c".
- Download the source code for the release version you would like to build. In this case, I downloaded the most recent version. The command "hg clone http://hg.mozilla.org/mozilla-central/" will copy the most recent version and place it in "c/mozilla-central'. Navigate into the the directory, "cd mozilla-central".
- 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[https://developer.mozilla.org/en/Configuring_Build_Options Buil Options Documention].
"echo '. $topsrcdir/browser/config/mozconfig' > mozconfig
echo '. $topsrcdir/browser/config/mozconfig' > mozconfigecho 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt' >> mozconfig//directoy were Firefox will be built echo 'ac_add_options --disable-tests' " - Now all that is left is to build. make -f client.mk
1
edit