为iPhone SDK 4.3编译ffmpeg [错误:无法创建可执行文件。]

时间:2011-06-01 15:16:52

标签: iphone objective-c sdk ffmpeg

像许多其他人一样......我正在使用气体预处理器编译ffmpeg

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/077701.html

这是我的命令

./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.

我使用/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/查找了Finder文件夹。 arm-apple-darwin10-gcc-4.2.1在那里......

谢谢, 苏哈斯

1 个答案:

答案 0 :(得分:0)

猜测;尝试将编译器切换到llvm(但不是气体)。