1
edit
Changes
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.
Here are the steps that I took to build Firefox under Windows with Visual Studio 2005.
<b><font style="font-size:120%"> Step 2: Install [http1:</font></developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29b>| 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 3Install Visual Studio .80NET 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.
<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 Static moztools libraries] for Visual C++ to directory “c“C:\proj\moztools”.
<b><font style="font-size:120%"> Step 4: </font></b>
Create a build script called '''buildenv.bat''' containing following content in folder '''”C:\proj\”''' 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. {| style="background:black; color:white" width="600"|-| C:\> cd c:\proj|-| C:\proj> md mozilla|-| C:\proj> cd mozilla|-| C:\proj\mozilla> copy con . mozconfig|}
<pre>
ac_add_options --enable-debug
# I'm using Canvas for my workac_add_options --enable-canvasDisable build Windows installation file
ac_add_options --disable-installer
</pre>
<b><font style="font-size:120%"> Step 6: </font></b>
Login to the mozilla CVS repository, using the password anonymous.
{| style="background:black; color:white" width="600"
|-
| 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:.
{| style="background:black; color:white" width="600"|-| C:\proj\ mozilla> make -f client.mk build|}
I enabled the virtual memory on Windows and reboot the system, after another 15 minutes compiling, the new Firefox is built.
== Resources ==
* [http://cs.senecac.on.ca/~david.humphrey/writing/firefox-win32-build.html Build Mozilla Thunderbird/Building Firefox/Sunbird on Microsoft Windows] * [http://ftpWin32 using Visual Studio .mozilla.org/pub/mozilla.org/mozilla/libraries/win32/moztools-static.zip GNU Tools for Microsoft Windows (Cygwin)NET 2005]
* [http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29 GNU Tools for Microsoft Windows (Cygwin)]
* [http://gemal.dk/mozilla/build.html Building Build Mozilla Thunderbird/Firefox /Sunbird on Win32 using Visual Studio .NET 2005Microsoft Windows]
* [http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites Windows Build Prerequisites]
* [http://forums.mozillazine.org/viewtopic.php?t=338845 How to build Firefox with Visual Studio 2005 Express Edition]
== Screenshot ==
This is the screen shot of new FireFox.