Skip to content

Commit

Permalink
Updated Mac OS X documentation for fatbuilt.sh -> gcc-fat.sh transition.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 23, 2015
1 parent 8cea1b9 commit 437a6d9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/README-macosx.md
Expand Up @@ -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
Expand Down

0 comments on commit 437a6d9

Please sign in to comment.