build-scripts/fatbuild.sh
branchSDL-1.2
changeset 4104 e3945f84427f
parent 3913 9e454eb693a5
child 4116 1bc3d3b2cde1
     1.1 --- a/build-scripts/fatbuild.sh	Fri Dec 28 18:15:43 2007 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Fri Dec 28 20:39:31 2007 +0000
     1.3 @@ -10,26 +10,26 @@
     1.4  # Generic, cross-platform CFLAGS you always want go here.
     1.5  CFLAGS="-O3 -g -pipe"
     1.6  
     1.7 -# PowerPC configure flags (10.2 runtime compatibility)
     1.8 +# PowerPC configure flags (10.3 runtime compatibility)
     1.9  # We dynamically load X11, so using the system X11 headers is fine.
    1.10  CONFIG_PPC="--build=`uname -p`-apple-darwin --host=powerpc-apple-darwin \
    1.11  --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib"
    1.12  
    1.13  # PowerPC compiler flags
    1.14 -CC_PPC="gcc-3.3 -arch ppc"
    1.15 -CXX_PPC="g++-3.3 -arch ppc"
    1.16 +CC_PPC="gcc-4.0 -arch ppc"
    1.17 +CXX_PPC="g++-4.0 -arch ppc"
    1.18  CFLAGS_PPC=""
    1.19 -CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \
    1.20 +CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1030 \
    1.21  -nostdinc \
    1.22 --F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \
    1.23 --I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \
    1.24 --isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include"
    1.25 +-F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks \
    1.26 +-I/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include \
    1.27 +-isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include"
    1.28  
    1.29 -# PowerPC linker flags 
    1.30 -LFLAGS_PPC="-arch ppc \
    1.31 --L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \
    1.32 --F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \
    1.33 --Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk"
    1.34 +# PowerPC linker flags
    1.35 +LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.3 \
    1.36 +-L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \
    1.37 +-F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks \
    1.38 +-Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk"
    1.39  
    1.40  # Intel configure flags (10.4 runtime compatibility)
    1.41  # We dynamically load X11, so using the system X11 headers is fine.
    1.42 @@ -43,12 +43,12 @@
    1.43  CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \
    1.44  -nostdinc \
    1.45  -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
    1.46 --I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include \
    1.47 +-I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include \
    1.48  -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include"
    1.49  
    1.50  # Intel linker flags
    1.51  LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
    1.52 --L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1 \
    1.53 +-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \
    1.54  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
    1.55  
    1.56  #