Changes between Version 10 and Version 11 of MacBuild


Ignore:
Timestamp:
Aug 2, 2007, 8:35:05 PM (17 years ago)
Author:
Nicolas
Comment:

More formatting tweaks

Legend:

Unmodified
Added
Removed
Modified
  • MacBuild

    v10 v11  
    8989   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.
    9090   2. Put the following 3 directories inside the BOINC_dev folder (omit any you don't need):
    91 
    9291{{{
    9392curl-7.16.4
     
    9594wxMac-2.8.0
    9695}}}
    97 
    9896      Important: do not change the names of any of these 3 directories.
    9997   3. Get the BOINC source tree from SVN, and put it in the same BOINC_dev folder. To do this, type the following in Terminal:
    100 
    10198{{{
    10299cd {path}/BOINC_dev/
    103100svn co http://boinc.berkeley.edu/svn/trunk/boinc
    104101}}}
    105 
    106102      (You may change the name of the boinc directory to anything you wish.)
    107103
    108       The command above retrieves the source code from the HEAD or development branch of the SVN repository. For more information on getting the BOINC source code, see [SourceCode here].
     104The command above retrieves the source code from the HEAD or development branch of the SVN repository. See more information on [SourceCode getting the BOINC source code].
    109105   4. Run the script to build the curl, jpeg and wxMac libraries as follows:
    110 
    111106{{{
    112107cd {path}/BOINC_dev/boinc/mac_build/
    113108source setupForBoinc.sh -clean
    114109}}}
    115 
    116110      If you don't wish to force a full rebuild of everything, omit the -clean argument.
    117111
    118112      Note: this script builds curl first, followed by jpeg and finally wxMac. If you haven't downloaded wxMac because you aren't building the BOINC Manager, the script will build curl and jpeg. Likewise, if you only downloaded curl because you need neither graphics nor the BOINC Manager, the script will build curl before quitting.
    119113   5. Build BOINC as follows:
    120 
    121114{{{
    122115cd {path}/BOINC_dev/boinc/mac_build/
     
    124117}}}
    125118
    126       The complete syntax for this script is
     119The complete syntax for this script is
    127120
    128121{{{
     
    130123}}}
    131124
    132       The options for BuildMacBOINC.sh are:
     125The options for BuildMacBOINC.sh are:
    133126
    134127      -dev::
     
    137130          don't do a 'clean' of each target before building. default is to clean all first.
    138131
    139       The following arguments determine which targets to build
     132The following arguments determine which targets to build
    140133
    141134      -all::
     
    146139          build two targets: BOINC client and command-line utility [BoincCmd boinc_cmd] (also builds libboinc.a, since boinc_cmd requires it.)
    147140
    148       Both -lib and -client may be specified to build five targets (no BOINC Manager.)
     141Both -lib and -client may be specified to build five targets (no BOINC Manager.)
    149142
    150143Note: You may find three XCode projects in the BOINC_dev/boinc/mac_build/ directory:
     
    182175== Debugging and BOINC security ==
    183176
    184 Version 5.5.4 of BOINC Manager for the Macintosh introduced new, stricter security measures. For details, please see the file [source:trunk/boinc/mac_installer/Readme.rtf Readme.rtf] and web pages [http://boinc.berkeley.edu/sandbox.php Sandbox Design] and [SandboxUser Sandbox User].
     177Version 5.5.4 of BOINC Manager for the Macintosh introduced new, stricter security measures. For details, please see the file [source:trunk/boinc/mac_installer/Readme.rtf Readme.rtf] and web pages [/sandbox.php Sandbox Design] and [SandboxUser Sandbox User].
    185178
    186179The GDB debugger can't attach to applications which are running as a different user or group so it ignores the S_ISUID and S_ISGID permission bits when launching an application. To work around this, BOINC does not use the special boinc_master or boinc_project users or groups when run from XCode.
     
    206199'''We have now added a fifth platform for Intel Macs (i686-apple-darwin).'''
    207200
    208 As a '''temporary''' measure, projects can set their servers to deliver a copy of their current PowerPC application (renamed for the new platform) under the new `i686-apple-darwin platform`. The OS will run it in compatibility mode, emulating a PowerPC. (Apple calls this compatibility mode "Rosetta", which of course has nothing to do with the Rosetta BOINC project.)
     201As a '''temporary''' measure, projects can set their servers to deliver a copy of their current PowerPC application (renamed for the new platform) under the new `i686-apple-darwin` platform. The OS will run it in compatibility mode, emulating a PowerPC. (Apple calls this compatibility mode "Rosetta", which of course has nothing to do with the Rosetta BOINC project.)
    209202
    210203If you do this, be sure to give your native Intel application a higher version number when you do release it, so that clients will download it.