请问SDL2.0是怎么编译到ios平台的呢,我按照README-ios.txt编译但是编译过不了

uilding with iOS SDK v6.1 for iOS >= 3.0
checking build system type... i386-apple-darwin12.4.0
checking host system type... armv6-apple-darwin
checking how to print strings... printf
checking for armv6-apple-darwin-gcc... /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in /Users/PS/SDL2-2.0.0/build/armv6':
configure: error: C compiler cannot create executables
See
config.log' for more details
请问有遇到这样的问题没?我的系统 OS X 10.8.4,XCode4.6.3 SDK6.1

需要修改 iosbuild.sh 文件

也可以用xcode直接编译工程文件