Open main menu

CDOT Wiki β

Changes

Assignment 1 paul

840 bytes added, 23:12, 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 on my machine.
Step 1: Install VS.NET 2005 by default.== 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 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.
Step 4{| style="background: Create a build script called black; color:white" width="600"|-| C:\> cd c:\proj|-| C:\proj > copy con buildenv.bat to setup the appropriate environment variables and paths.|}
<pre>
</pre>
Step 5: Create a text file named .mozconfig containing following content in “c:\proj\mozilla” from command line.
<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.
Step 6{| style="background: Login to the mozilla CVS repository, using the password anonymous.black; color:white" width="600"|- | C:\> cd c:\proj|- style="background:black; color:white" width="600"| C:\proj> buildenv.bat|-| C:\proj> cvs login  Step 7: Checkout the build script.|}
C<b><font style="font-size:\proj120%"> cvs co mozillaStep 7: </browserfont></config mozilla/clientb>Checkout the build script.mk
Step 8{| style="background: Get the full source from CVSblack; color: white" width="600"|-| C:\proj> cvs co mozilla/browser/config mozilla/client.mk|}
C<b><font style="font-size:\proj120%"> cd mozillaCStep 8:\proj\mozilla</font></b> make -f clientDownload the source file from CVS.mk checkout
{| 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.
[[Image: Minefield_Paul.jpg]]
1
edit