build-scripts/fatbuild.sh
changeset 2282 ff3b47d22a6d
parent 2089 58ed46da318c
child 3245 d984d5bb17e9
     1.1 --- a/build-scripts/fatbuild.sh	Fri Dec 28 18:16:42 2007 +0000
     1.2 +++ b/build-scripts/fatbuild.sh	Fri Dec 28 20:42:06 2007 +0000
     1.3 @@ -10,24 +10,24 @@
     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=1030 \
    1.20  -nostdinc \
    1.21  -F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks \
    1.22 --I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3 \
    1.23 +-I/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include \
    1.24  -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include"
    1.25  
    1.26 -# PowerPC linker flags 
    1.27 -LFLAGS_PPC="-arch ppc \
    1.28 --L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3 \
    1.29 +# PowerPC linker flags
    1.30 +LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.3 \
    1.31 +-L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \
    1.32  -F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks \
    1.33  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk"
    1.34  
    1.35 @@ -43,12 +43,12 @@
    1.36  CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \
    1.37  -nostdinc \
    1.38  -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \
    1.39 --I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include \
    1.40 +-I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include \
    1.41  -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include"
    1.42  
    1.43  # Intel linker flags
    1.44  LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
    1.45 --L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1 \
    1.46 +-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \
    1.47  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
    1.48  
    1.49  #