Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/ui/ui-drv/cocoa/HowToBuild.txt
blob: 90209f1822880866f440c1464d65d8d3f377b860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
XaoS for Mac OS X (Cocoa)
Build Instructions

By J.B. Langston III

Here are instructions for getting the XaoS Xcode project to build successfully 
assuming you have downloaded a released source tarball or gotten the source 
from CVS:

A) Build dependencies

    1) Download the latest libpng from 

        ftp://ftp.simplesystems.org/pub/libpng/png/src/

    2) Configure libpng for universal binaries with the following command:

          env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -mmacosx-version-min=10.4" \
              LDFLAGS="-arch i386 -arch ppc" \
	          ./configure --prefix=$XAOS_ROOT/src/ui/ui-drv/cocoa/thirdparty --disable-dependency-tracking
	   
	   Be sure to replace $XAOS_ROOT with the root of your XaoS source folder.
	   
       For more information about building open source libraries as universal binaries:	   
	   http://developer.apple.com/technotes/tn2005/tn2137.html
	
	3) Make and install libpng:
	   
	   make && make install
	   
	4) Download the latest gsl from 

       ftp://ftp.gnu.org/gnu/gsl/
       
    5) Repeat steps 2 and 3 for gsl
    
	6) Download the latest gettext from 

       ftp://ftp.gnu.org/gnu/gettext/

    7) Repeat steps 2 and 3 for gettext
	
B) Build XaoS

    You should now be able to build XaoS from the Xcode project.

Have fun! If you have questions, feel free to e-mail me: jb-langston at austin dot rr dot com