31
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
This document | This is to document helpful tips for Collaborans who must wrestle with building the Mozilla source on different platforms. | ||
( | Collaborans are interested in building code from the Electrolysis project (E10s) on a machine on which Scratchbox is also installed, on which the Maemo SDK can be installed, and on which one can cross-compile to the ARM architecture. | ||
= XEN IMAGE = | |||
One route to the desired build environment is to obtain a virtual machine image that is properly configured. robin_bb is developing such an image. It is available here: | |||
[http://people.collabora.co.uk/~robinbb/lenny-32.img.bz2 here]. | |||
To use that image, you'll need the [http://www.xen.org/ Xen virtual machine]. While installing Xen is quite an ordeal, it is significantly easier than configuring the build environment described above! | |||
= VIRTUALBOX IMAGE = | |||
Request from robin_bb. | |||
= MANUAL | = MANUAL SETUP = | ||
== Prerequisites for Building Mozilla's E10s Project == | == Prerequisites for Building Mozilla's E10s Project == | ||
| Line 38: | Line 37: | ||
For that, you need [http://www.scratchbox.org/download/ Scratchbox Apophis]. | For that, you need [http://www.scratchbox.org/download/ Scratchbox Apophis]. | ||
<br> | <br> | ||
| Line 57: | Line 54: | ||
The scratchbox '_X86' targets don't add extra value to the build and since your SB build environment might not be as complete So there's really little need for the XXX_X86 targets in Scratchbox. When you want to build for X86 processors, do it directly from your preferred linux console. | The scratchbox '_X86' targets don't add extra value to the build and since your SB build environment might not be as complete So there's really little need for the XXX_X86 targets in Scratchbox. When you want to build for X86 processors, do it directly from your preferred linux console. | ||
== Installing Maemo SDK | == Installing Maemo SDK == | ||
As a Collabora developer, you might be targetting a specific maemo platform version. | As a Collabora developer, you might be targetting a specific maemo platform version. | ||
== Pulling the mozilla codebase | == Pulling the mozilla codebase == | ||
== Building | == Building == | ||
== Running/Testing your build<br> == | == Running/Testing your build<br> == | ||
| Line 71: | Line 68: | ||
== Building E10s == | == Building E10s == | ||
= | === On Win32 = | ||
== Installing dev. environment | ==== Installing dev. environment ==== | ||
== Installing ext3 fileSystem | ==== Installing ext3 fileSystem ==== | ||
== Setting MSVC up | ==== Setting MSVC up ==== | ||
== | ==== The Build Proper ==== | ||
edits