The environment is OS X 10.9, and the Xcode version is 6.0
Configuration command behavior for ARMV7
Cc=/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang. /configure--host=arm-apple-darwin--sysroot=/applications/xcode.app/contents/developer/platforms/ Iphoneos.platform/developer/sdks/iphoneos8. 0 . SDK--prefix= " build "--extra-cflags=" -arch armv7 "--extra-ldflags=" -arch armv7-l/applications/xcode.app/contents/developer/platforms/ Iphoneos.platform/developer/sdks/iphoneos8.0.sdk/usr/lib/system -- Enable-pic--extra-asflags= -arch armv7
Configuration command behavior for arm64/aarch64
Cc=/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang. /configure--host=aarch64-apple-darwin--sysroot=/applications/xcode.app/contents/developer/platforms/ Iphoneos.platform/developer/sdks/iphoneos8. 0 . SDK--prefix= " build "--extra-cflags=" -arch arm64 "--extra-ldflags=" -arch arm64-l/applications/xcode.app/contents/developer/platforms/ Iphoneos.platform/developer/sdks/iphoneos8.0.sdk/usr/lib/system -- Enable-pic--extra-asflags= -arch arm64
Here I am in the top-level directory of x264 a new build directory, executed in the build directory.
After configure succeeds, you can compile binary with make.
Note After configure successful, you need to manually copy a new version of gas-preprocessor.pl to extras directory below
x264 Build for IOS