Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Bilibili/gas-preprocessor
personal fork of git://git.libav.org/gas-preprocessor.git
https://github.com/Bilibili/gas-preprocessor
Last synced: 3 months ago
JSON representation
personal fork of git://git.libav.org/gas-preprocessor.git
- Host: GitHub
- URL: https://github.com/Bilibili/gas-preprocessor
- Owner: bilibili
- Created: 2013-09-29T10:08:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T05:12:19.000Z (over 8 years ago)
- Last Synced: 2024-07-20T11:07:50.534Z (4 months ago)
- Language: Perl
- Size: 70.3 KB
- Stars: 13
- Watchers: 37
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
To configure Libav for iOS:
./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
instance, assuming separate builds in armv6 and armv7:lipo -create -arch armv6 armv6/libavcodec/libavcodec.a -arch armv7 armv7/libavcodec/libavcodec.a -output universal/libavcodec.a
and similar for each library. Then in XCode, make sure to build for both armv6
and armv7. If you only care about one generation (since the armv6 devices are
too slow for instance), then lipo is unnecessary of course.