Open main menu

CDOT Wiki β

Changes

Assignment 1 paul

362 bytes added, 20:24, 19 September 2006
no edit summary
 
This is my first experience in building such a big application. It took me a lot of time to do the research, I went to Google, went to ChatZilla, and went to blog, tried to get help. The following are my steps to build FireFox.
== Steps to build Mozilla Firefox ==
Here are the steps that I took to build Firefox under Windows with Visual Studio 2005.
<b><font style="font-size:120%"> Step 1: </font></b>
Install Visual Studio .NET Professional 2005 by default.
 <b><font style="font-size:120%"> Step 2: </font></b>Install
[http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29 GNU Tools for Microsoft Windows (Cygwin)]
. Cywin is a Linux-like environment for Windows. It includes many utilities that are used to build firefox, such as gawk, perl, zip, and make. When selecting packages, you must make sure the version of make is 3.80.
<b><font style="font-size:120%"> Step 3: </font></b>Download and Extract the [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/moztools-static.zip static moztools libraries] for Visual C++ to directory “c:\proj\moztools”.
<b><font style="font-size:120%"> Step 4: </font></b>Create a build script called C:\proj\buildenv.bat to setup the appropriate environment variables and paths.
<pre>
</pre>
 <b><font style="font-size:120%"> Step 5: </font></b>Create a text file named .mozconfig containing following content in “c:\proj\mozilla” from command line.
C:\proj\mozilla> copy con . mozconfig
</pre>
<b><font style="font-size:120%"> Step 6: </font></b>Login to the mozilla CVS repository, using the password anonymous.
C:\> cd c:\proj
C:\proj> cvs login
<b><font style="font-size:120%"> Step 7: </font></b>Checkout the build script.
C:\proj> cvs co mozilla/browser/config mozilla/client.mk
<b><font style="font-size:120%"> Step 8: </font></b>Get the full source from CVS:
C:\proj> cd mozilla
C:\proj\mozilla> make -f client.mk checkout
<b><font style="font-size:120%"> Step 9: </font></b>Build the Firefox from source:
C:\proj\ mozilla> make -f client.mk build
1
edit