From c665ad957c8690594f280923710994d5fd2d0550 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 22 Feb 2006 11:42:03 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9525 --- doc/mac_build.html | 60 +++++++++++++++-------------- mac_build/HowToBuildBOINC_XCode.rtf | 27 ++++++++----- 2 files changed, 48 insertions(+), 39 deletions(-) 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://www.wxwidgets.org

+

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

+

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

+

http://www.ijg.org

+

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.  


@@ -99,29 +101,29 @@


[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.)


@@ -189,13 +191,13 @@

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:

-

http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html

-


+

http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html

+


and here:

-

http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_compiling/chapter_2_section_7.html

-


+

http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_compiling/chapter_2_section_7.html

+


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


diff --git a/mac_build/HowToBuildBOINC_XCode.rtf b/mac_build/HowToBuildBOINC_XCode.rtf index fd97574cd9..da04ad7707 100644 --- a/mac_build/HowToBuildBOINC_XCode.rtf +++ b/mac_build/HowToBuildBOINC_XCode.rtf @@ -80,18 +80,26 @@ After building the libraries as Universal Binaries using the second method, you \cf0 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\ + {\field{\*\fldinst{HYPERLINK "http://www.wxwidgets.org"}}{\fldrslt +\f3\fs26 \cf0 http://www.wxwidgets.org}} +\f3\fs26 \cf0 \ + +\f1\fs24 \cf0 {\field{\*\fldinst{HYPERLINK "http://prdownloads.sourceforge.net/wxwindows/wxMac-2.6.2.tar.gz"}}{\fldrslt +\f3\fs26 \cf0 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\ -\ + +\f3\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "http://curl.haxx.se"}}{\fldrslt http://curl.haxx.se}}\ + {\field{\*\fldinst{HYPERLINK "http://curl.haxx.se/download/curl-7.15.1.tar.gz"}}{\fldrslt http://curl.haxx.se/download/curl-7.15.1.tar.gz}}\ + +\f1\fs24 \cf0 \ 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\ + +\f3\fs26 \cf0 {\field{\*\fldinst{HYPERLINK "http://www.ijg.org"}}{\fldrslt http://www.ijg.org}}\ + {\field{\*\fldinst{HYPERLINK "ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz"}}{\fldrslt ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz}}\ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural -\cf0 \ + +\f1\fs24 \cf0 \ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural \f2\i \cf0 XCode 2.2 installs autoconf 2.59 and automake 1.63. @@ -200,9 +208,8 @@ However, participants do not manually download project applications; this is don \ So BOINC treats Intel Macs as a new, separate platform. BOINC previously directly supported four platforms: PowerPC Macs (powerpc-apple-darwin), Intel Linux (i686-pc-linux-gnu), Windows (windows-intelx86) and Solaris (sparc-sun-solaris2.7). \ \ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural -\f0\b \cf0 We have now added a fifth platform for Intel Macs (i686-apple-darwin). +\f0\b We have now added a fifth platform for Intel Macs (i686-apple-darwin). \f1\b0 \ \ As a