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

Carl Worth cworth at freedesktop.org
Mon Oct 19 22:06:52 PDT 2009


 src/end_to_end_build_for_mac_os_x.mdwn |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit bec1014345e05dc799116bd44ccee2695175ad58
Author: travisgriggs <travisgriggs at web>
Date:   Mon Oct 19 22:06:52 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 3bdb1ef..9724f2d 100644
--- a/src/end_to_end_build_for_mac_os_x.mdwn
+++ b/src/end_to_end_build_for_mac_os_x.mdwn
@@ -1,4 +1,4 @@
-Goal: Build CairoGraphics Frameworks directory, using only X-Code. Produce fat binaries capable of running on 10.4, 10.5, 10.6, on PPC, and on Intel. The result is for the native OSX backends, not the any of the X-Windows ones.
+Goal: Build CairoGraphics private Frameworks directory, using only X-Code. Produce fat binaries capable of running on 10.4, 10.5, 10.6, on PPC, and on Intel. The result is for the native OSX backends, not the any of the X-Windows ones. A "private" Framework is not a generally reusable one, but one that is packaged specifically with a .app bundle.
 
 Original Author: Travis Griggs (travisgriggs at gmail.com)
 
@@ -67,6 +67,8 @@ The --prefix argument affects the make install command, such that it places any
 
 ### Setup environment variables for fat binary compilation
 
+*WARNING* If you have to go backwards in these steps, it is important that you unset these variables before trying to compile pkg-config again. Or use a different shell. We set these variables AFTER pkg-config is built for a reason.
+
 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
@@ -79,6 +81,8 @@ What if you want 64 bit builds too? Then you have a choice to make. If you want
        export LDFLAGS="-arch ppc -arch i386 -arch ppc64 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
        export CFLAGS="-Os -arch ppc -arch i386 -arch ppc64 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
 
+
+
 ### Build and install libpng
 
 Build the libpng library, and install it in our local build directory.


More information about the cairo-commit mailing list