Changes between Version 1 and Version 2 of MacBuild


Ignore:
Timestamp:
Apr 27, 2007, 7:11:42 AM (17 years ago)
Author:
Nicolas
Comment:

Updated page to match Charlie's changeset:12491

Legend:

Unmodified
Added
Removed
Modified
  • MacBuild

    v1 v2  
    3434Be sure to follow the directions in this document to ensure that these requirements are met.
    3535
     36Building BOINC now requires XCode Tools version 2.4.1 or later. (Version 2.3 may work; this has not been tested.)
     37
     38Source 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/].
     39
     40You also need to install Subversion itself. One place to get it is: [http://www.codingmonkeys.de/mbo/]
     41
    3642== Building BOINC libraries to link with project applications ==
    3743
    3844If you are building a project application to be run by BOINC, you only need to build the boinc libraries libboinc_api.a, ibboinc.a, and (if you want graphics) libboinc_graphics_api.a. There are two ways to do this:
    3945
    40    1. Use the BOINC autoconf / automake scripts to build these libraries and the jpeg and curl libraries on which they depend. You must do all of this twice: once on a PowerPC Mac running OS 10.3.x (do NOT use OS 10.4), and once on an Intel Mac running OS 10.4.x.
    41 
    42       (If you wish, you can combine separate Intel and PowerPC builds in a single Universal Binary mach-O file using the command-line utility lipo. For details on lipo, type 'man lipo' in Terminal; it is available on all Macs running OS10.4.x.)
    43    2. Use scripts setupForBOINC.sh and BuildMacBOINC.sh. You do this once on any Macintosh (PowerPC or Intel) running OS 10.4.x and with XCode 2.2 (or later) installed. This will produce Universal Binaries of all the libraries. These can then be linked with both PowerPC applications and Mac Intel applications.
     46  1. Use the BOINC autoconf / automake scripts to build these libraries and the jpeg and curl libraries on which they depend. You must do all of this twice: once on a PowerPC Mac running OS 10.3.x (do NOT use OS 10.4), and once on an Intel Mac running OS 10.4.x.
     47
     48 (If you wish, you can combine separate Intel and PowerPC builds in a single Universal Binary mach-O file using the command-line utility lipo. For details on lipo, type 'man lipo' in Terminal; it is available on all Macs running OS10.4.x.)
     49  2. Use scripts setupForBOINC.sh and BuildMacBOINC.sh. You do this once on any Macintosh (PowerPC or Intel) running OS 10.4.x and with XCode 2.4.1 (or later) installed. This will produce Universal Binaries of all the libraries. These can then be linked with both PowerPC applications and Mac Intel applications.
    4450
    4551This document gives instructions only for the second method.
     
    4955== Building BOINC Manager with embedded Core Client plus libraries libboinc.a and libboinc_graphics_api.a ==
    5056
    51 BOINC depends on three third-party libraries: wxMac-2.8.2, curl-7.16.1, and jpeg-6b. You can obtain these from the following URLs:
    52 
    53 wxMac-2.8.2 (needed only if you are building the BOINC Manager):
    54 
    55 http://www.wxwidgets.org
    56 
    57 http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.2.tar.gz
     57BOINC depends on three third-party libraries: wxMac-2.8.3, curl-7.16.1, and jpeg-6b. You can obtain these from the following URLs:
     58
     59wxMac-2.8.3 (needed only if you are building the BOINC Manager):
     60
     61[http://www.wxwidgets.org]
     62
     63[http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.3.tar.gz]
     64[http://downloads.sourceforge.net/wxwindows/wxMac-2.8.3.tar.bz2]
    5865
    5966curl-7.16.1:
    6067
    61 http://curl.haxx.se
    62 
    63 http://curl.haxx.se/download/curl-7.16.1.tar.gz
     68[http://curl.haxx.se]
     69
     70[http://curl.haxx.se/download/curl-7.16.1.tar.gz]
    6471
    6572jpeg-6b (needed only if you are building the BOINC libboinc_graphics_api.a library):
    6673
    67 http://www.ijg.org
    68 
    69 ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
    70 
    71 XCode 2.2 installs autoconf 2.59 and automake 1.63. To determine the version number, type 'autoconf --version' or 'automake --version' . Building wxMac-2.8.2 and curl-7.16.1 require autoconf 2.59 and automake 1.93 or later.
     74[http://www.ijg.org]
     75
     76[ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz]
     77
     78XCode 2.4.1 installs autoconf 2.59 and automake 1.63. To determine the version number, type 'autoconf --version' or 'automake --version'. Building wxMac-2.8.3 and curl-7.16.1 require autoconf 2.59 and automake 1.93 or later.
    7279
    7380Upgrades for autoconf and automake are available from www.gnu.org:
     
    8188As stated above, all BOINC software for Power PC Macs must be built using GCC 3.3 and MacOS10.3.9 SDK to assure backward compatibility with OS 10.3. All BOINC software for Intel Macs must be built using GCC 4.0 and MacOS10.4.u SDK to allow cross-compiling.
    8289
    83 These are not done by either the XCode projects which come with wxMac-2.8.2, nor the !AutoMake scripts supplied with wxMac-2.8.2, curl-7.16.1, or jpeg-6b. So be sure to use our special scripts to build these packages.
    84 
    85 Building BOINC and the library packages on which it depends requires OS 10.4.4 and XCode 2.2 (or greater). It may be possible to use XCode 2.1 and/or versions of OS X earlier than 10.4.4, but this has not been tested by the authors.
     90These are not done by either the XCode projects which come with wxMac-2.8.3, nor the !AutoMake scripts supplied with wxMac-2.8.3, curl-7.16.1, or jpeg-6b. So be sure to use our special scripts to build these packages.
     91
     92Building BOINC and the library packages on which it depends requires OS 10.4.4 and XCode 2.4.1 (or greater). It may be possible to use XCode 2.3 and/or versions of OS X earlier than 10.4.4, but this has not been tested by the authors.
    8693
    8794   1. Create a parent directory within which to work. In this description , we will call it BOINC_dev, but you can name it anything you wish.
     
    9198      curl-7.16.1
    9299      jpeg-6b
    93       wxMac-2.8.2
     100      wxMac-2.8.3
    94101}}}
    95102