1
edit
Changes
→The Build
bash --login -i
A command prompt was opened (Start -> Run... -> cmd) and the present working directory was changed to ''C:\proj''. The batch script was executed to ensure that there were no errors in it. If there were no errors, you should see the Cygwin shell prompt.using this command:
Going back to the cygwin shell prompt, the present working directory was changed to ''C:\proj'' using the same command as above. Once we are in the correct directory, it is time to checkout the makefile that will be used to checkout the rest of the source files in the tree. To do this, the following command was executed:
cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
Next, a ''.mozconfig'' configuration file was created based on the information located at the [http://developer.mozilla.org/en/docs/Configuring_Build_Options Configuring Build Options] page. The resulting ''.mozconfig'' configuration file contained contains the following configuration options:
# Include default Firefox configuration file
. $topsrcdir/browser/config/mozconfig
# Build with Objdir
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
# OptimizationOptimizations
ac_add_options --disable-optimize
ac_add_options --enable-debug
# Static Build
ac_add_options --disable-static --enable-shared
# Disable Installer
ac_add_options --disable-installer
The file was saved as ''.mozconfig'' to the ''C:\proj\mozilla'' directory. Then, from the ''C:\proj'' directory, the following command was executed to checkout Firefox's default .mozconfig file: