Permalink
Browse files

Modify scripts for Mac OS X prebuilt releases for Xcode 4

  • Loading branch information...
feeley committed Mar 25, 2011
1 parent d4b8889 commit 8220bcadba76af2b1c16f94c983661aa68337867
Showing with 11 additions and 19 deletions.
  1. +0 −8 examples/iOS/Prefix.pch
  2. +2 −2 include/stamp.h
  3. +9 −9 prebuilt/macosx/build
View
@@ -1,8 +0,0 @@
-//
-// Prefix header
-//
-
-#ifdef __OBJC__
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
-#endif
View
@@ -2,5 +2,5 @@
* Time stamp of last source code repository commit.
*/
-#define ___STAMP_YMD 20110324
-#define ___STAMP_HMS 15833
+#define ___STAMP_YMD 20110325
+#define ___STAMP_HMS 43116
View
@@ -16,40 +16,40 @@ export INSTALL_PREFIX="/Library/Gambit-C"
cd "`dirname $0`"
-for VARIANT in intel32 intel64 G3 G4 G5 universal; do
+for VARIANT in intel32 intel64; do
cd "$rootfromhere"
case "$VARIANT" in
intel32) CONFIG_ARCH="-arch i386"
- CONFIG_HOST="--host=i386-apple-darwin9"
+ CONFIG_BUILD="--build=i386-apple-darwin9"
RUN_TESTS=1
;;
intel64) CONFIG_ARCH="-arch x86_64 -m64"
- CONFIG_HOST="--host=i386-apple-darwin9"
+ CONFIG_BUILD="--build=i386-apple-darwin9"
RUN_TESTS=0
;;
G3) CONFIG_ARCH="-arch ppc750"
- CONFIG_HOST="--host=powerpc-apple-darwin9"
+ CONFIG_BUILD="--build=powerpc-apple-darwin9"
RUN_TESTS=0
;;
G4) CONFIG_ARCH="-arch ppc7400"
- CONFIG_HOST="--host=powerpc-apple-darwin9"
+ CONFIG_BUILD="--build=powerpc-apple-darwin9"
RUN_TESTS=0
;;
G5) CONFIG_ARCH="-arch ppc970 -m64"
- CONFIG_HOST="--host=powerpc-apple-darwin9"
+ CONFIG_BUILD="--build=powerpc-apple-darwin9"
RUN_TESTS=0
;;
universal) CONFIG_ARCH="-arch i386 -arch ppc750"
- CONFIG_HOST=""
+ CONFIG_BUILD=""
RUN_TESTS=1
;;
esac
- SYSROOT="/Developer/SDKs/MacOSX10.5.sdk"
+ SYSROOT="/Developer/SDKs/MacOSX10.6.sdk"
- CFLAGS="-isysroot $SYSROOT $CONFIG_ARCH" LDFLAGS="-mmacosx-version-min=10.5 -Wl,-syslibroot,$SYSROOT $CONFIG_ARCH" ./configure "$CONFIG_HOST" --prefix="$INSTALL_PREFIX" --enable-multiple-versions --enable-symlinks --enable-single-host # --enable-gcc-opts
+ CFLAGS="-isysroot $SYSROOT $CONFIG_ARCH" LDFLAGS="-mmacosx-version-min=10.5 -Wl,-syslibroot,$SYSROOT $CONFIG_ARCH" ./configure "$CONFIG_BUILD" --prefix="$INSTALL_PREFIX" --enable-multiple-versions --enable-symlinks --enable-single-host # --enable-gcc-opts
cd "$herefromroot"

0 comments on commit 8220bca

Please sign in to comment.