Skip to content
Permalink
Browse files

Updated Mac OS X documentation for fatbuilt.sh -> gcc-fat.sh transition.

  • Loading branch information
icculus committed Jun 23, 2015
1 parent 8cea1b9 commit 437a6d9da98f38f583af02b1459fdb27c2e2b2ad

File 1 of 1 in 437a6d9

@@ -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

0 comments on commit 437a6d9

Please sign in to comment.