Bladeren bron

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

Ryan C. Gordon 9 jaren geleden
bovenliggende
commit
437a6d9da9
1 gewijzigde bestanden met toevoegingen van 9 en 5 verwijderingen
  1. 9 5
      docs/README-macosx.md

+ 9 - 5
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