comparison build-scripts/fatbuild.sh @ 1639:0f466fb614a9

Whoops, need the actual flags here
author Sam Lantinga <slouken@libsdl.org>
date Mon, 17 Apr 2006 03:37:30 +0000
parents 3d0dec74ad01
children 2a55580b767b
comparison
equal deleted inserted replaced
1638:ebd1aedb1292 1639:0f466fb614a9
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Build a fat binary on Mac OS X, thanks Ryan! 3 # Build a fat binary on Mac OS X, thanks Ryan!
4 4
5 # PowerPC compiler flags (10.2 runtime compatibility) 5 # PowerPC compiler flags (10.2 runtime compatibility)
6 CFLAGS_PPC=-DBUILD_PPC 6 CFLAGS_PPC="-arch ppc \
7 xCFLAGS_PPC="-arch ppc \
8 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ 7 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \
9 -I/Developer/SDKs/MacOSX10.2.8.sdk/Developer/Headers/FlatCarbon \ 8 -I/Developer/SDKs/MacOSX10.2.8.sdk/Developer/Headers/FlatCarbon \
10 -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \ 9 -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \
11 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ 10 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \
12 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++ \ 11 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++ \
13 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin \ 12 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin \
14 -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include" 13 -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include"
15 14
16 # PowerPC linker flags 15 # PowerPC linker flags
17 xLFLAGS_PPC="-arch ppc -mmacosx-version-min=10.2 \ 16 LFLAGS_PPC="-arch ppc -mmacosx-version-min=10.2 \
18 -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ 17 -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \
19 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ 18 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \
20 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk" 19 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk"
21 20
22 # Intel compiler flags (10.4 runtime compatibility) 21 # Intel compiler flags (10.4 runtime compatibility)
23 CFLAGS_X86=-DBUILD_X86 22 CFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
24 xCFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
25 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" 23 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
26 24
27 # Intel linker flags 25 # Intel linker flags
28 xLFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \ 26 LFLAGS_X86="-arch i386 -mmacosx-version-min=10.4 \
29 -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0 \ 27 -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0 \
30 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" 28 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
31 29
32 # 30 #
33 # Find the configure script 31 # Find the configure script