[cairo-commit] [cairo-www] src/end_to_end_build_for_mac_os_x.mdwn

Carl Worth cworth at freedesktop.org
Wed Oct 21 16:20:46 PDT 2009

 src/end_to_end_build_for_mac_os_x.mdwn |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 1699ec8b19f2faad3d642678849227ebe8248d99
Author: travisgriggs <travisgriggs at web>
Date:   Wed Oct 21 16:20:46 2009 -0700

diff --git a/src/end_to_end_build_for_mac_os_x.mdwn b/src/end_to_end_build_for_mac_os_x.mdwn
index abc693e..b5b0342 100644
--- a/src/end_to_end_build_for_mac_os_x.mdwn
+++ b/src/end_to_end_build_for_mac_os_x.mdwn
@@ -4,7 +4,7 @@ Original Author: Travis Griggs (travisgriggs at gmail.com)
 Original Version: 1.8.8
-Other Tested Versions: 1.9.4 (have to add the --disable-ft)
+Other Tested Versions: 1.9.4
 Tools Needed:
@@ -72,9 +72,12 @@ The --prefix argument affects the make install command, such that it places any
 We set the following 3 environment variables to influence the compile/link operations buried in subsequent commands, so that we build fat binaries, that can be run as far back as 10.4. If you open a new shell, you'll need to set these variables again.
        export MACOSX_DEPLOYMENT_TARGET=10.4
+       export CC="gcc-4.0"
        export LDFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
        export CFLAGS="-Os -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
+Why are we setting CC? For 10.6 machines. You can skip it for 10.5/10.4. But for 10.6, the default gcc version is 4.2.0 which doesn't mix well with the 10.4 SDK.
 What if you want 64 bit builds too? Then you have a choice to make. If you want 64 bit, you have to set 10.5 as your low limit. And you end up with the following variant of the above. You should do only one of the 2 sets, the above 3 commands, or the 3 below.
        export MACOSX_DEPLOYMENT_TARGET=10.5
@@ -112,7 +115,7 @@ Build the pixman library, and install it locally. Pixman is used by the Cairo li
 This builds the final library. It's not ready for widespread distribution yet, keep going after this step.
        cd ${BuildDir}/cairo
-       ./configure --prefix=${BuildDir} --disable-xlib --disable-dependency-tracking
+       ./configure --prefix=${BuildDir} --disable-xlib --disable-ft --disable-dependency-tracking
        make install

More information about the cairo-commit mailing list