Changes

Jump to: navigation, search

Building the Fox

341 bytes added, 01:12, 18 September 2006
Method
## type exit to close Cygwin
# 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]] section of the [[#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]] section of the [[#Appendix]]. 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 begin the build: make -f client.mk build
1
edit

Navigation menu