像其他许多人一样..我正在使用gas预处理器编译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.我使用Finder查找了/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/文件夹。arm-apple-darwin10-gcc-4.2.1在那里..
谢谢,苏哈斯
发布于 2011-06-01 23:39:15
猜测;尝试将编译器切换到llvm (而不是gas)。
https://stackoverflow.com/questions/6203518
复制相似问题