编译适用于iPhone SDK 4.3的ffmpeg[错误:无法创建可执行文件。]
和其他许多人一样。。我正在使用gas预处理器编译ffmpeg 这是我的命令编译适用于iPhone SDK 4.3的ffmpeg[错误:无法创建可执行文件。],iphone,objective-c,sdk,ffmpeg,Iphone,Objective C,Sdk,Ffmpeg,和其他许多人一样。。我正在使用gas预处理器编译ffmpeg 这是我的命令 ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --enable-cross-compile --target-os=darwin --arch=arm7 --cpu=cortex-a8 --enable-pic
错误:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 is unable to create an executable file.
C compiler test failed.
我使用Finder
查找/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
文件夹。。
arm-apple-darwin10-gcc-4.2.1就在那里
谢谢,
苏哈斯猜测;尝试将编译器切换到llvm(而不是gas)