Mercurial > sdl-ios-xcode
comparison build-scripts/fatbuild.sh @ 1739:3a3e847aadb9
Trying to fix fatbuild.sh on intel
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Apr 2006 10:21:54 +0000 |
parents | 9f59d4c5aaea |
children | d67622addf51 |
comparison
equal
deleted
inserted
replaced
1738:acfd00fbff5c | 1739:3a3e847aadb9 |
---|---|
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 CC_PPC="gcc-3.3" | 6 CC_PPC="gcc-3.3 -arch ppc" |
7 CFLAGS_PPC="-arch ppc" | 7 CFLAGS_PPC="" |
8 CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \ | 8 CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \ |
9 -nostdinc \ | 9 -nostdinc \ |
10 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ | 10 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
11 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ | 11 -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ |
12 -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include" | 12 -isystem /Developer/SDKs/MacOSX10.2.8.sdk/usr/include" |
16 -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ | 16 -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ |
17 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ | 17 -F/Developer/SDKs/MacOSX10.2.8.sdk/System/Library/Frameworks \ |
18 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk" | 18 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk" |
19 | 19 |
20 # Intel compiler flags (10.4 runtime compatibility) | 20 # Intel compiler flags (10.4 runtime compatibility) |
21 CC_X86="gcc-4.0" | 21 CC_X86="gcc-4.0 -arch i386" |
22 CFLAGS_X86="-arch i386 -mmacosx-version-min=10.4" | 22 CFLAGS_X86="-mmacosx-version-min=10.4" |
23 CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \ | 23 CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \ |
24 -nostdinc \ | 24 -nostdinc \ |
25 -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \ | 25 -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks \ |
26 -I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include \ | 26 -I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include \ |
27 -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include" | 27 -isystem /Developer/SDKs/MacOSX10.4u.sdk/usr/include" |