Confirmed users, Bureaucrats and Sysops emeriti
792
edits
No edit summary |
|||
Line 27: | Line 27: | ||
* Then check out the current source tree; this will grab a copy of the source in a directory called mozilla-central in /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''' | ** '''hg clone http://hg.mozilla.org/mozilla-central''' | ||
* To update to the latest source, from the mozilla-central directory: | |||
** '''hg pull''' | |||
** '''hg update''' | |||
= Run autoconf to generate the configure scripts = | |||
You'll need to repeat this step if configure.in or js/src/configure.in change; it doesn't hurt to do it too often, so I usually do this whenever I update the source tree. | |||
* From /c/proj/mozilla-central: | |||
** '''autoconf2.13''' | |||
** '''cd js/src; autoconf2.13''' | |||
= Set up a mozconfig = | = Set up a mozconfig = | ||
Line 77: | Line 89: | ||
ac_add_options --with-wince-sdk="c:/program files/windows ce tools/wce500/standardsdk_500" | ac_add_options --with-wince-sdk="c:/program files/windows ce tools/wce500/standardsdk_500" | ||
Copy & paste the above into a file in /c/proj, I'll call mine "mc-firefox-wince-opt". | |||
= Start a Build = | |||
* First, create a directory to hold the build tree. From /c/proj: | |||
** '''mkdir firefox-wince-opt''' | |||
* Enter that directory, and run configure (note: you must specify the absolute path to the configure script; a relative path should work, but doesn't currently): | |||
** '''cd firefox-wince-opt''' | |||
** '''MOZCONFIG=../mc-firefox-wince-opt /c/mozilla-central/configure''' | |||
* Fire off the build (the -s prevents a whole bunch of unnecessary spew | |||
from make) | |||
** '''make -s''' | |||
* If all goes well, you should have a complete build/install dir in "dist/bin" inside your firefox-wince-opt dir. | |||
= Running the Build = | |||
Simply copy the entire bin directory to the device, and run firefox.exe. | |||
'''NOTE:''' there's a bug currently with component registration; in the bin directory, delete the file called ".autoreg" to speed up startup. |