Open main menu

CDOT Wiki β

Changes

Assignment 1 paul

28 bytes removed, 23:12, 19 September 2006
no edit summary
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 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. {| style="background:black; color:white" width="600"|-| C:\> cd c:\proj|-| C:\proj > copy con buildenv.bat|}
<pre>
<b><font style="font-size:120%"> Step 5: </font></b>
Create a text file named .mozconfig containing following content in “c“C:\proj\mozilla” from command line.
{| style="background:black; color:white" width=”600”"600"|-| C:\> cd c:\proj|-| C:\proj> md mozilla|-| C:\proj> cd mozilla
|-
| C:\proj\mozilla> copy con .mozconfig
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>
Login to the mozilla CVS repository, using the password anonymous.
{| style="background:black; color:white" width=”600”"600"
|-
| C:\> cd c:\proj
|- style="background:black; color:white" width=”600”"600"
| C:\proj> buildenv.bat
|-
Checkout the build script.
{| style="background:black; color:white" width=”600”"600"
|-
| C:\proj> cvs co mozilla/browser/config mozilla/client.mk
<b><font style="font-size:120%"> Step 8: </font></b>
Get Download the full source file from CVS: .
{| style="background:black; color:white" width=”600”"600"
|-
| C:\proj> cd mozilla
<b><font style="font-size:120%"> Step 9: </font></b>
Build the Firefox from source:.
{| style="background:black; color:white" width=”600”"600"
|-
| C:\proj\ mozilla> make -f client.mk build
== 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]
1
edit