Changes between Version 39 and Version 40 of MacBuild
- Timestamp:
- Apr 3, 2008, 9:18:09 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacBuild
v39 v40 5 5 '''Last updated 4/3/08''' 6 6 7 This document applies to BOINC version 6.1.0 and later. It has instructions for building the BOINC Client and Manager for Macintosh OSX. For information on building science project applications to run under BOINC on Macintosh OSX, see BuildMacApp.7 This document applies to BOINC version 6.1.0 and later. It has instructions for building the BOINC Client and Manager for Macintosh OSX. Information for building science project applications to run under BOINC on Macintosh OSX can be found [BuildMacApp here]. 8 8 9 9 Note: the information in this document changes from time to time for different versions of BOINC. For any version of BOINC source files, the corresponding version of this document can be found in the source tree at: … … 19 19 == Important requirements for building BOINC software for the Mac == 20 20 21 Building applicationsfor Macintosh OS X is complicated by the fact that Mac OS X is actually 3 different platforms:21 Building BOINC for Macintosh OS X is complicated by the fact that Mac OS X is actually 3 different platforms: 22 22 * '''powerpc-apple-darwin''': PowerPC processors running OS 10.3.0 and above 23 23 * '''i686-apple-darwin''': 32-bit intel processors running OS 10.4.0 and above … … 27 27 You need to take certain steps to ensure that you use only APIs that are available in all the OS versions BOINC supports for each architecture. There are two basic ways to accomplish this: 28 28 * Build each platform on a system running the oldest OS you need to support, then combine them into a Universal Binary using the lipo command-line utility: 29 * A PowerPC development system running OS 10.3. 0 through 10.3.8 (or 10.3.9 if you won't support the older systems)29 * A PowerPC development system running OS 10.3.9 30 30 * An Intel development system running OS 10.4.x 31 * A 64-bit development Intel system running OS 10.5.x (The original Intel Macs used an Intel Core Duo processor which was 32-bit only. You must have an Intel Core 2 Duo or newer processor to run 64-bit applications.) However, at the time this is written, the BOINC Makefiles do not directly build 64-bit binaries31 * A 64-bit development Intel system running OS 10.5.x. However, at the time this is written, the BOINC Makefiles do not directly build 64-bit binaries; you will have to modify the Makefile slightly to specify the x86_64 architecture by adding the compiler and linker flag `-arch x86_64`. 32 32 * Use a single development system running OS 10.5.x and cross-compile for the various platforms. The remainder of this document describes that process. 33 33 … … 36 36 Be sure to follow the directions in this document to ensure that these requirements are met. 37 37 38 BOINC version 6.1.0supports only Mac OS X 10.3.9 and later; support for OS 10.3.0 through 10.3.8 has been discontinued. This allows us to build the BOINC Client and Manager using only GCC 4.0, which offers a number of advantages.39 40 The BOINC Client includes support for the x86_64 (64-bit Intel) architecture beginning with version 6.1.0.38 Starting with version 6.1.0, the BOINC Client supports only Mac OS X 10.3.9 and later; support for OS 10.3.0 through 10.3.8 has been discontinued. This allows us to build the BOINC Client and Manager using only GCC 4.0, which offers a number of advantages. 39 40 As of version 6.1.0, the BOINC Client includes support for the x86_64 (64-bit Intel) architecture. 41 41 42 42 == Cross-Platform Development == … … 51 51 http://connect.apple.com 52 52 53 '''Building BOINC now requires XCode Tools version 2.4.1 or later; XCode 3.0 or later is recommended.''' Note that the MacOS10.3.9 SDK is not automatically included unless you customize the installation; click the '''Customize''' button in the '''Installation type''' step when you run the XCode Tools installer.53 '''Building BOINC now requires XCode Tools version 3.0 or later.''' Note that the MacOS10.3.9 SDK is not automatically included unless you customize the installation; click the '''Customize''' button in the ''Installation type'' step when you run the XCode Tools installer. 54 54 55 55 Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either [http://www.apple.com/downloads/macosx/development_tools/svnx.html] or [http://www.lachoseinteractive.net/en/community/subversion/svnx/]. … … 57 57 You also need to install Subversion itself. One place to get it is: [http://www.codingmonkeys.de/mbo/] 58 58 59 == Building BOINC Manager with embedded Core Client plus libraries libboinc.a and libboinc_graphics_api.a == 60 59 == Building BOINC Manager with embedded Core Client == 61 60 62 61 BOINC depends on four third-party libraries: wxMac-2.8.7, c-ares-1.5.1, curl-7.18.0, and jpeg-6b. You can obtain these from the following URLs: