From 437a6d9da98f38f583af02b1459fdb27c2e2b2ad Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Jun 2015 21:30:08 -0400 Subject: [PATCH] Updated Mac OS X documentation for fatbuilt.sh -> gcc-fat.sh transition. --- docs/README-macosx.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/README-macosx.md b/docs/README-macosx.md index 768a33e331e2b..747e1e6067b27 100644 --- a/docs/README-macosx.md +++ b/docs/README-macosx.md @@ -17,13 +17,17 @@ process: You can also build SDL as a Universal library (a single binary for both 32-bit and 64-bit Intel architectures), on Mac OS X 10.7 and newer, by using -the fatbuild.sh script in build-scripts: - sh build-scripts/fatbuild.sh - sudo build-scripts/fatbuild.sh install +the gcc-fat.sh script in build-scripts: + + mkdir mybuild + cd mybuild + CC=$PWD/../build-scripts/gcc-fat.sh CXX=$PWD/../build-scripts/g++fat.sh ../configure + make + sudo make install + This script builds SDL with 10.5 ABI compatibility on i386 and 10.6 ABI compatibility on x86_64 architectures. For best compatibility you -should compile your application the same way. A script which wraps -gcc to make this easy is provided in test/gcc-fat.sh +should compile your application the same way. Please note that building SDL requires at least Xcode 4.6 and the 10.7 SDK (even if you target back to 10.5 systems). PowerPC support for Mac OS X has