diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-08-14 17:17:34 -0400 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-08-14 17:17:34 -0400 |
commit | 7fd7b06a23d31129ec7dcf25c8a1ffb2e53be510 (patch) | |
tree | 49df04b057accde1ad08d4c72db2d7d3509226e1 | |
parent | 788aa7a297044944639cd3f6261fbac066ad0fce (diff) |
Fat build doesn't support PPC anymore.
-rwxr-xr-x | build-scripts/fatbuild.sh | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/build-scripts/fatbuild.sh b/build-scripts/fatbuild.sh index e4edb7e0..d86c2045 100755 --- a/build-scripts/fatbuild.sh +++ b/build-scripts/fatbuild.sh @@ -16,60 +16,6 @@ fi # Generic, cross-platform CFLAGS you always want go here. CFLAGS="-O3 -g -pipe" -# They changed this from "darwin9" to "darwin10" in Xcode 3.2 (Snow Leopard). -GCCUSRPATH_PPC=`ls -d $SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin*/4.0.1` -if [ ! -d "$GCCUSRPATH_PPC" ]; then - echo "Couldn't find any GCC usr path for 32-bit ppc" - exit 1 -fi -GCCUSRPATH_PPC64=`ls -d $SDK_PATH/MacOSX10.5.sdk/usr/lib/gcc/powerpc-apple-darwin*/4.0.1` -if [ ! -d "$GCCUSRPATH_PPC64" ]; then - echo "Couldn't find any GCC usr path for 64-bit ppc" - exit 1 -fi - -# PowerPC 32-bit configure flags (10.4 runtime compatibility) -# We dynamically load X11, so using the system X11 headers is fine. -CONFIG_PPC="--build=`uname -p`-apple-darwin --host=powerpc-apple-darwin \ ---x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" - -# PowerPC 32-bit compiler flags -CC_PPC="gcc-4.0 -arch ppc" -CXX_PPC="g++-4.0 -arch ppc" -CFLAGS_PPC="-mmacosx-version-min=10.4" -CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \ --nostdinc \ --F$SDK_PATH/MacOSX10.4u.sdk/System/Library/Frameworks \ --I$GCCUSRPATH_PPC/include \ --isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include" - -# PowerPC 32-bit linker flags -LFLAGS_PPC="-arch ppc -Wl,-headerpad_max_install_names -mmacosx-version-min=10.4 \ --F$SDK_PATH/MacOSX10.4u.sdk/System/Library/Frameworks \ --L$GCCUSRPATH_PPC \ --Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk" - -# PowerPC 64-bit configure flags (10.5 runtime compatibility) -# We dynamically load X11, so using the system X11 headers is fine. -CONFIG_PPC64="--build=`uname -p`-apple-darwin --host=powerpc-apple-darwin \ ---x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" - -# PowerPC 64-bit compiler flags -CC_PPC64="gcc-4.0 -arch ppc64" -CXX_PPC64="g++-4.0 -arch ppc64" -CFLAGS_PPC64="-mmacosx-version-min=10.5" -CPPFLAGS_PPC64="-DMAC_OS_X_VERSION_MIN_REQUIRED=1050 \ --nostdinc \ --F$SDK_PATH/MacOSX10.5.sdk/System/Library/Frameworks \ --I$GCCUSRPATH_PPC64/include \ --isystem $SDK_PATH/MacOSX10.5.sdk/usr/include" - -# PowerPC 64-bit linker flags -LFLAGS_PPC64="-arch ppc64 -Wl,-headerpad_max_install_names -mmacosx-version-min=10.5 \ --F$SDK_PATH/MacOSX10.5.sdk/System/Library/Frameworks \ --L$GCCUSRPATH_PPC64/ppc64 \ --Wl,-syslibroot,$SDK_PATH/MacOSX10.5.sdk" - # Intel 32-bit configure flags (10.4 runtime compatibility) # We dynamically load X11, so using the system X11 headers is fine. CONFIG_X86="--build=`uname -p`-apple-darwin --host=i386-apple-darwin \ @@ -271,28 +217,6 @@ for dir in build build/ppc build/ppc64 build/x86 build/x64; do done # -# Build the PowerPC 32-bit binary -# -if test x$configure_ppc = xyes; then - (cd build/ppc && \ - sh ../../configure $CONFIG_PPC CC="$CC_PPC" CXX="$CXX_PPC" CFLAGS="$CFLAGS $CFLAGS_PPC" CPPFLAGS="$CPPFLAGS_PPC" LDFLAGS="$LFLAGS_PPC") || exit 2 -fi -if test x$make_ppc = xyes; then - (cd build/ppc && ls include && make -j$NJOB) || exit 3 -fi - -# -# Build the PowerPC 64-bit binary -# -if test x$configure_ppc64 = xyes; then - (cd build/ppc64 && \ - sh ../../configure $CONFIG_PPC64 CC="$CC_PPC64" CXX="$CXX_PPC64" CFLAGS="$CFLAGS $CFLAGS_PPC64" CPPFLAGS="$CPPFLAGS_PPC64" LDFLAGS="$LFLAGS_PPC64") || exit 2 -fi -if test x$make_ppc64 = xyes; then - (cd build/ppc64 && ls include && make -j$NJOB) || exit 3 -fi - -# # Build the Intel 32-bit binary # if test x$configure_x86 = xyes; then |