svn path=/trunk/boinc/; revision=12491

This commit is contained in:
Charlie Fenton 2007-04-27 11:24:07 +00:00
parent 5184dedb1e
commit c7bfec5118
3 changed files with 55 additions and 20 deletions

View File

@ -4059,3 +4059,11 @@ David 26 Apr 2007
make_project
client/
log_flags.C,h
Charlie 27 Apr 2007
- Mac: Update build instructions.
doc/
mac_build.php
mac_build/
HowToBuildBOINC_XCode.rtf

View File

@ -73,9 +73,23 @@ themselves until run time.
Be sure to follow the directions in this document to ensure that these requirements are met.
<p>
Building BOINC now requires XCode Tools version 2.4.1 or later. (Version 2.3 may work; this has not been tested.)
<p>
Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either
";
show_link("http://www.apple.com/downloads/macosx/development_tools/svnx.html");
echo "
or
";
show_link("http://www.lachoseinteractive.net/en/community/subversion/svnx/");
echo "
<p>
You also need to install Subversion itself. One place to get it is:
";
show_link("http://www.codingmonkeys.de/mbo/");
echo "
<h2>Building BOINC libraries to link with project applications</h2>
@ -89,7 +103,7 @@ If you are building a project application to be run by BOINC, you only need to b
(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.)
<li> 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.
<li> 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.
</ol>
@ -104,15 +118,15 @@ After building the libraries as Universal Binaries using the second method, you
<h2>Building BOINC Manager with embedded Core Client plus libraries libboinc.a and libboinc_graphics_api.a</h2>
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:
BOINC 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:
<p>
wxMac-2.8.2 (needed only if you are building the BOINC Manager):
wxMac-2.8.3 (needed only if you are building the BOINC Manager):
";
show_link("http://www.wxwidgets.org");
show_link("http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.2.tar.gz");
show_link("http://prdownloads.sourceforge.net/wxwindows/wxMac-2.8.3.tar.gz");
echo "
<p>
curl-7.16.1:
@ -129,7 +143,7 @@ show_link("ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz");
echo "
<p>
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.
XCode 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.
<p>
Upgrades for autoconf and automake are available from www.gnu.org:
@ -147,11 +161,11 @@ As stated above, all BOINC software for Power PC Macs must be built using GCC 3.
<p>
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.
These 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.
<p>
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.
Building 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.
<ol>
@ -163,7 +177,7 @@ Building BOINC and the library packages on which it depends requires OS 10.4.4 a
<pre>
curl-7.16.1
jpeg-6b
wxMac-2.8.2
wxMac-2.8.3
</pre>

View File

@ -2,7 +2,7 @@
{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fmodern\fcharset77 Courier;
\f3\fswiss\fcharset77 Helvetica-Oblique;\f4\fnil\fcharset77 LucidaGrande;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue239;\red78\green0\blue124;}
\margl1440\margr1440\vieww13420\viewh8680\viewkind0
\margl1440\margr1440\vieww13540\viewh11860\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc
\f0\b\fs28 \cf0 Building BOINC Clients and Applications on Macintosh OSX\
@ -11,7 +11,7 @@
\f1\b0\fs24 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc
\cf0 Written by Charlie Fenton\
Last updated 3/15/07\
Last updated 4/27/07\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
This document applies to BOINC version 5.9.2 and later. It has instructions for building BOINC for Macintosh OSX, plus information for building science project applications to run under BOINC on Macintosh OSX. \
@ -62,6 +62,19 @@ Elsewhere on Apple's web site is the warning:\
\cf0 \
Be sure to follow the directions in this document to ensure that these requirements are met.\
\
\f0\b Building BOINC now requires XCode Tools version 2.4.1 or later.
\f1\b0 (Version 2.3 may work; this has not been tested.)\
\
Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either\
{\field{\*\fldinst{HYPERLINK "http://www.apple.com/downloads/macosx/development_tools/svnx.html"}}{\fldrslt http://www.apple.com/downloads/macosx/development_tools/svnx.html}}\
or\
{\field{\*\fldinst{HYPERLINK "http://www.lachoseinteractive.net/en/community/subversion/svnx/"}}{\fldrslt http://www.lachoseinteractive.net/en/community/subversion/svnx/}}\
\
You also need to install Subversion itself. One place to get it is:\
{\field{\*\fldinst{HYPERLINK "http://www.codingmonkeys.de/mbo/"}}{\fldrslt http://www.codingmonkeys.de/mbo/}}
\
\
\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc
@ -76,7 +89,7 @@ Be sure to follow the directions in this document to ensure that these requireme
\
(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.)\
\
(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.\
(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.\
\
This document gives instructions only for the second method.\
\
@ -91,9 +104,9 @@ After building the libraries as Universal Binaries using the second method, you
\f1\b0\fs24 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\cf0 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:\
\cf0 BOINC 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:\
\
wxMac-2.8.2 (needed only if you are building the BOINC Manager):\
wxMac-2.8.3 (needed only if you are building the BOINC Manager):\
{\field{\*\fldinst{HYPERLINK "http://www.wxwidgets.org"}}{\fldrslt
\f2\fs26 http://www.wxwidgets.org}}
\f2\fs26 \
@ -123,9 +136,9 @@ jpeg-6b (needed only if you are building the BOINC libboinc_graphics_api.a libr
\f1\fs24 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\f3\i \cf0 XCode 2.2 installs autoconf 2.59 and automake 1.63.
\f3\i \cf0 XCode 2.4.1 installs autoconf 2.59 and automake 1.63.
\f1\i0
\f3\i 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. \
\f3\i To determine the version number, type "autoconf --version" or "automake --version" . Building curl-7.16.1 require autoconf 2.59 and automake 1.93 or later. \
\
Upgrades for autoconf and automake are available from www.gnu.org: \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
@ -144,9 +157,9 @@ XCode installed these utilities in the /usr/bin/ directory, but the upgrades by
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\cf0 As 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. \
\
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.\
These 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.\
\
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.\
Building 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.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
\cf0 \
[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.\
@ -154,7 +167,7 @@ Building BOINC and the library packages on which it depends requires OS 10.4.4 a
[2] Put the following 3 directories inside the BOINC_dev folder (omit any you don't need):\
curl-7.16.1\
jpeg-6b\
wxMac-2.8.2\
wxMac-2.8.3\
\
Important: do not change the names of any of these 3 directories.\
\