Module: gas-preprocessor Branch: master Commit: 461037253254761f14801c69e2cc90078765a9ca
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Mon Mar 24 20:40:05 2014 +0200 Update the instructions for configuring a build for iOS The previous instructions were woefully outdated. --- README | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README b/README index d903ba1..2c8ab2b 100644 --- a/README +++ b/README @@ -1,13 +1,6 @@ -To configure ffmpeg for the iPhone 3gs and iPod touch 3g: +To configure Libav for iOS: -./configure --enable-cross-compile --arch=arm --target-os=darwin --cc='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk --cpu=cortex-a8 --enable-pic - -To configure ffmpeg for all other iPhones and iPods: - -./configure --enable-cross-compile --arch=arm --target-os=darwin --cc='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv6' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk --cpu=arm1176jzf-s - -Make sure to replace the iPhone SDK version with the version that you're using. -Pre-3.0 versions aren't supported and probably won't work. +./configure --enable-cross-compile --arch=arm --target-os=darwin --cc='clang -arch armv7' --sysroot=$(xcrun --sdk iphoneos --show-sdk-path) --cpu=cortex-a8 --enable-pic If deploying to all generations, it's recommended to do separate out-of-tree builds for each architecture, then lipo together the resulting libs. For _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
