像许多其他人一样......我正在使用气体预处理器编译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在那里......
谢谢, 苏哈斯
答案 0 :(得分:0)
猜测;尝试将编译器切换到llvm(但不是气体)。