Mac:Build Requirements
From MozillaWiki
For additional information, refer to the Mac OS X Build Prerequisites at developer.mozilla.org.
Compatibility Matrix [edit]
The rapidly changing landscape of Apple hardware, software, and development environments results in a variety of possibilities for build host platforms, which are used to compile Mozilla products from source code. Not all combinations are supported, and some combinations are unable to build products that run on older versions of the operating system. This table indicates which operating system versions, development environments, and compiler choices are suitable to build a variety of Mozilla products, and what special considerations exist. It also identifies the earliest version of Mac OS X that a build environment can produce functioning executables for.
| Gecko Version |
Mozilla Product and Version |
Build Host’s Mac OS X Release |
10.2 “Jaguar” |
10.3 “Panther” |
10.4 “Tiger” |
10.5 “Leopard” |
||
| Development Environment |
Developer Tools |
Xcode 1.x |
Xcode 2.x |
Xcode 2.5, 3.x |
||||
| GCC version | 3.1 | 3.3 | 3.3 | 4.01 | 3.3 | 4.0 | ||
| 1.7 | Firefox 1.0 Thunderbird 1.0 Mozilla 1.7 |
Builds? | Yes | Yes2 | With patch3 | No | No | No |
| Minimum runtime | 10.1 | 10.1 | 10.1 | |||||
| Camino 0.8 | Builds? | No | 10.2 SDK4 | No | No | No | No | |
| Minimum runtime | 10.1 | |||||||
| 1.8.0 | Firefox 1.5 Thunderbird 1.5 SeaMonkey 1.0 |
Builds? | No5 | Yes2 | Yes | Yes | No | No |
| Minimum runtime | 10.2 | 10.2 | 10.3.9 | |||||
| Camino 1.0 | Builds? | No | Yes2,6 | Yes6 | Yes6 | No | No | |
| Minimum runtime | 10.2 | 10.2 | 10.3.9 | |||||
| 1.8.1 | Firefox 2.0 Thunderbird 2.0 SeaMonkey 1.1 |
Builds? | No | Yes2 | Yes | Yes | Yes | Yes |
| Minimum runtime | 10.2 | 10.2 | 10.3.9 | 10.2 | 10.3.9 | |||
| Camino 1.5 | Builds? | No | Yes2,6 | Yes6 | Yes6 | Yes6 | Yes6 | |
| Minimum runtime | 10.3 | 10.3 | 10.3.9 | 10.3 | 10.3.9 | |||
| Camino 1.6 | Builds? | No | No | No | Yes6 | No | Yes6 | |
| Minimum runtime | 10.3.9 | 10.3.9 | ||||||
| 1.9 | Trunk | Builds? | No | No | No | Yes | No | Yes |
| Minimum runtime | 10.4 | 10.4 | ||||||
1 The GCC 4.0 compiler that shipped with Xcode 2.0 (“build 4061”) is buggy and unable to build any Mozilla product. An updated GCC 4.0 is available with subsequent Xcode 2.x releases and works properly. Xcode updates are available from Apple Developer Connection.
2 After installing QuickTime 7.0.4 on Mac OS X 10.3, builds must be performed using an SDK. The 10.2.8 SDK is recommended. The 10.3.0 SDK should also work. See bug 323348.
3 Bug 292530 introduced the ability to build on Tiger, but was never integrated for 1.7-generation products. A backported patch can be used with these sources.
4 Camino 0.8 only builds with the 10.2.8 SDK. The standard Camino mozconfig requests this SDK, and it must be installed to build.
5 This build configuration was supported for early product releases from the 1.8/1.8.0 branch, but is no longer supported as of February 2006.
6 Although Camino 1.0 and later will build with a variety of SDKs, the standard Camino mozconfig still requests the 10.3.9 SDK (10.2.8 for Camino 1.0) on PowerPC and the 10.4u SDK on Intel. Unless overridden, the proper SDK must be installed.
Official builds from the 1.8.0, 1.8.1, and 1.9 branches are produced as universal binaries on Mac OS X 10.4 “Tiger” build hosts with Xcode 2.4.1 installed. On the 1.8.* branches, official PowerPC bits are produced with gcc 3.3 and the 10.2.8 SDK, and official x86 bits are produced with gcc 4.0 and the 10.4u SDK. Official bits on the 1.9 branch are produced with gcc 4.0 and the 10.4u SDK for both architectures.
