1
edit
Changes
no edit summary
## To close Cygwin type: exit
# Download and Extract moztools to a folder of your chosing.
# Create an batch file containing steps needed to properly configure your build environment prior to proceeding with the build. The contents of the this batch file can be found within the [[#Batch File|Batch File]] section of the [[#Appendix|Appendix]]. Make changes to the batch file as necessary to reflect the different installation paths of the various applications in question. This will ensure that all the environment variables needed for the build to succeed are properly initialized. More information relating to the specifics of this file can be found in the [http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#Configure_the_Environment Configuring the Environment section] of the Windows build guide made available by the [http://developer.mozilla.org Mozilla Developer Center].
# Rename \bin\link.exe located within the Cygwin installation folder to any different name (e.g. oldlink.exe). This prevents the receipt of an error message stating that the "incremental linker version does not match the compiler suite version" as documented in the [http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#Configure_the_Environment Configure the environment] section of the Windows Build Pre-requiste guide from the Mozilla Developer Center.
# Create the c:\proj folder to store the source and object files that will result from the checkout and build respectively.
#:* The above step creates a folder called mozilla within the proj director.
#:* Navigate to this folder by typing: cd mozilla
# Create a file named .mozconfig and place it in this c:\proj\mozilla directory. This file contains the settings The contents of the this file can be found within the [[#.mozconfig File|.mozconfig File]] section of the [[#Appendix|Appendix]]. You will notice that the last line of the .mozconfig file disables the installer thus NSIS is not required. If you omit this line then, NSIS (2.17 or greater) must be installed and its install directory (and not the 'bin' directory) added to your path.More information relating to the specifics of this file can be found in the [http://developer.mozilla.org/en/docs/Configuring_Build_Options Configuring Build Options section] of the Windows build guide made available by the [http://developer.mozilla.org Mozilla Developer Center].
# Begin source file download by issuing the following command: make -f client.mk checkout
# Once the above step is completed issue the following command to compile the source: make -f client.mk build