diff --git a/doc/mac_build.html b/doc/mac_build.html index 96028b513d..d3ae599d89 100644 --- a/doc/mac_build.html +++ b/doc/mac_build.html @@ -11,14 +11,16 @@ p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 12.0px Helvetica} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} - p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier} - p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #4e007c} - p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #0000ef} - p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; min-height: 16.0px} - span.s1 {font: 13.0px Courier} - span.s2 {font: 12.0px Helvetica} - span.s3 {text-decoration: underline} - span.s4 {text-decoration: underline ; color: #0000ef} + p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #000000} + p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier} + p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #4e007c} + p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #0000ef} + p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; min-height: 16.0px} + span.s1 {font: 12.0px Helvetica; color: #000000} + span.s2 {font: 13.0px Courier} + span.s3 {font: 12.0px Helvetica} + span.s4 {text-decoration: underline} + span.s5 {text-decoration: underline ; color: #0000ef} span.Apple-tab-span {white-space:pre} @@ -67,16 +69,16 @@
BOINC depends on three third-party libraries: wxMac-2.6.2, curl-7.15.1, and jpeg-6b. You can obtain these from the following URLs:
wxMac-2.6.2 (needed only if you are building the BOINC Manager):
-http://www.wxwidgets.org
-http://prdownloads.sourceforge.net/wxwindows/wxMac-2.6.2.tar.gz
+ +http://prdownloads.sourceforge.net/wxwindows/wxMac-2.6.2.tar.gz
curl-7.15.1:
-http://curl.haxx.se
-http://curl.haxx.se/download/curl-7.15.1.tar.gz
+ +http://curl.haxx.se/download/curl-7.15.1.tar.gz
jpeg-6b (needed only if you are building the BOINC libboinc_graphics_api.a library):
-http://www.ijg.org
-ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
+ +ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
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.6.2 and curl-7.15.1 require autoconf 2.59 and automake 1.93 or later.
[3] Get the BOINC source tree from CVS, and put it in the same BOINC_dev folder. To do this:
cd {path}BOINC_dev/
-cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc
+cd {path}BOINC_dev/
+cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc
(You may change the name of the boinc directory to anything you wish.)
[4] Run the script to build the curl, jpeg and wxMac libraries as follows:
cd {path}BOINC_dev/mac_build
-source setupForBoinc.sh
+cd {path}BOINC_dev/mac_build
+source setupForBoinc.sh
If you wish to force a full rebuild of everything, use the -clean argument:
source setupForBoinc.sh -clean
+source setupForBoinc.sh -clean
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.
[5] Build BOINC as follows:
cd {path}BOINC_dev/mac_build
-source BuildMacBOINC.sh
+cd {path}BOINC_dev/mac_build
+source BuildMacBOINC.sh
The complete syntax for this script is
-source BuildMacBOINC.sh [-dev] [-noclean] [-all] [-lib] [-client]
+source BuildMacBOINC.sh [-dev] [-noclean] [-all] [-lib] [-client]
The options for BuildMacBOINC.sh are:
-dev build the development (debug) version (native architecture only).
@@ -169,8 +171,8 @@So it is important to make a native Intel application available as soon as possible.
It is very easy to add a new platform to your server with the xadd utility. For directions on how to do this, see these web pages:
-http://boinc.berkeley.edu/platform.php
-http://boinc.berkeley.edu/tool_xadd.php
+http://boinc.berkeley.edu/platform.php
+http://boinc.berkeley.edu/tool_xadd.php
BOINC supports all PowerPC Macs running OS 10.3.0 or later, and all Intel Macs. (The Intel Macs themselves require OS 10.4.4 or later.)
Note that the BOINC libraries (and any third-party libraries) which you link with your applications must be built with the same configuration as the application itself. Follow the instructions earlier in this document to build the needed libraries.
Additional information on building Unix applications universal can be found here:
- -and here:
- -For information on making your code work with GCC 4:
-http://developer.apple.com/releasenotes/DeveloperTools/GCC40PortingReleaseNotes/index.html
+http://developer.apple.com/releasenotes/DeveloperTools/GCC40PortingReleaseNotes/index.html