Changes

Jump to: navigation, search

Assignment 1 Building FireFox

1,661 bytes added, 10:50, 19 September 2006
Steps to Build FireFox
## Install the moztools package in that directory
## rename %CYGWINBASE%\bin\link.exe to glink.exe or any other name. This will prevent an error message "incremental linker version does not match the compiler suite version" at compile time.
## make the c:\proj folder. This will contain the source and object files that will be generated from the build and the checkout that will be executed later on.
## Execute the cygwin batch file (cygwin.bat) using cmd.exe. It successful a cygwin window will open with a prompt.
 
For the build to work properly we must ensure we are in the c:\proj folder before logging on #:to CVS to checkout the source files. Issue the following commands at the Cygwin prompt #:accomplish this:
cd c:
cd proj
Logon to CVS.
At the command prompt type: cvs logon
Enter "anonymous" as the password (without the quotes)
Checkout the code
At the prompt enter: cvs co mozilla/browser/config mozilla/client.mk
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. 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 Configuring Build Options section of the Windows build guide made available by the 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
1
edit

Navigation menu