Open main menu

CDOT Wiki β

User:DavidBertenshaw/Assignment 01: Build the Fox

Revision as of 20:58, 18 September 2006 by Davenrathh (talk | contribs) (Process)

Introduction

I started working on the project on September 17th. The first thing I did was follow the link to developer.mozilla.org. From there I managed to find a link to guide for building Firefox on a windows platform. This guide was the key to finishing this assignment, without it I would be lost and would never have gotten firefox to build properly. Even with this guide I suffered some hardships but eventually managed to complete my build.

Build Prerequists

From the start I closely followed two websites. The Mozilla build documentation and David Humprey's guide to building Firefox . The following is the software needed to build Firefox on a Windows XP SP2 computer:

7-Zip

This software is used to unpack the zip archive from the Mozilla FTP. If you are using cvs to download the Firefox source then you shouldn't need this.

Cygwin

From what I can tell, this software emulates a Unix shell and in doing so downloads many commands and tools you need to compile Firefox. Once you download Cygwin follow the steps for installation. I used Unix shell endings and I also checked the following options.

   *  patchutils (under Interpreters).
   *  perl (under Interpreters).
   *  zip, unzip (under Archive).  

Don't check Make unless it's version 3.80.

Make 3.80

I am putting this seperate because I had to download the Make software seperatly as I coulnd't find it in the Cywin tools. From what I can tell this utility does the actually building of Firefox.

Visual Studio 2003 or Visual Studio 2005

Both Visual studios have tools that are neccesary to build Mozzila's Firefox. I personally had 2003 installed but switched to 2005 to try and fix a bug, which it didn't. Although you can get free tools out on the net, this is what I used and can say works.

MozTools

These tools created by Mozilla are used to build Firefox but I couldn't tell exsactly what they do.


NSIS

From what I can tell this software is needed to create an installer for Firefox.

Process

This process outlines the second time I attemped at building Firefox. The first time was not a success and I will report it in the Conflicts section.

1) Firstly I created a directory called Proj under the c:\ drive. (I am going to outline the small steps as they were the ones that tripped me up the first time).

2) Next download the MozTools

http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#GNU_Tools_for_Microsoft_Windows_.28Cygwin.29

Conflicts

Contributers

Reources

Screenshot

conclusion