[x264-devel] commit: iPhone compilation support (David Conrad )

git version control git at videolan.org
Mon Feb 15 10:07:49 CET 2010


x264 | branch: master | David Conrad <lessen42 at gmail.com> | Sun Oct  4 07:24:42 2009 -0400| [520ba2becf677d5ed8c1d7141eb25c65d08a3b3e] | committer: Jason Garrett-Glaser 

iPhone compilation support
Also add --sysroot to configure options

To build for iPhone 3gs / iPod touch 3g:
CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc ./configure --host=arm-apple-darwin --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk

For older devices, add
--extra-cflags='-arch armv6 -mcpu=arm1176jzf-s' --extra-ldflags='-arch armv6' --disable-asm

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=520ba2becf677d5ed8c1d7141eb25c65d08a3b3e
---

 common/arm/asm.S           |    9 ++-
 common/arm/pixel-a.S       |   13 ++-
 configure                  |   17 +++-
 extras/gas-preprocessor.pl |  256 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 287 insertions(+), 8 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=520ba2becf677d5ed8c1d7141eb25c65d08a3b3e


More information about the x264-devel mailing list