Firefox/Tegra/Build Notes: Difference between revisions

no edit summary
(New page: This is a work in progress, based largely on the Windows Mobile Build Instructions. = Initial Setup = * Follow the instructions in [htt...)
 
No edit summary
Line 10: Line 10:


* Install the [http://www.microsoft.com/DownLoads/details.aspx?familyid=FA1A3D66-3F61-4DDC-9510-AE450E2318C3&displaylang=en Windows CE 5.00 Standard SDK].  If you have a SDK provided by a Windows CE 6 device manufacturer, it ought to work as well; this has only been tested with the CE 5.00 SDK.
* Install the [http://www.microsoft.com/DownLoads/details.aspx?familyid=FA1A3D66-3F61-4DDC-9510-AE450E2318C3&displaylang=en Windows CE 5.00 Standard SDK].  If you have a SDK provided by a Windows CE 6 device manufacturer, it ought to work as well; this has only been tested with the CE 5.00 SDK.
= Downloading the Source =
I tend to use 'c:\proj' as the root for most of my work; replace that path as appropriate for your usage.  I would suggest a path without spaces, though.
Mozilla uses the Mercurial version control system.  For more detailed information, see [https://developer.mozilla.org/en/Mozilla_Source_Code_%28Mercurial%29 this page].
In 'C:\mozilla-build', there will be a few batch files -- fire up '''start-msvc9.bat''' to obtain a console window with paths set up for building.  All commands are assumed to be executed within such a window.
Note: the MSYS environment that drives the build uses Unix-style forward slashes for path separators.  Drive letters are also treated as directories, so "C:\proj" becomes "/c/proj".  Note that MSYS will automatically translate "/c/proj" into "C:\proj" from the command line; this sometimes causes problems when trying ot pass arguments that start with "/" to programs.  To get around this, use "//" -- for example, "dumpbin //exports".  Or, use the - form of arguments if supported.
* First, create some directories:
** '''mkdir /c/proj'''
** '''cd /c/proj'''
* Then check out the current source tree; this will grab a copy of the source in a directory called mozilla-central in /c/proj:
** '''hg clone http://hg.mozilla.org/mozilla-central'''
= Set up a mozconfig =
The mozilla build system uses a mozconfig file to avoid having to pass many options to configure on the command line.
Confirmed users, Bureaucrats and Sysops emeriti
792

edits