Ticket #497: build_armv7

File build_armv7, 776 bytes (added by Gagan, 5 years ago)

Build File for IPhone 4.3 SDK armv7

Line 
1#!/bin/tcsh -f
2
3if (! -d armv7) mkdir armv7
4if (! -d lib) mkdir lib
5
6rm armv7/*.a
7
8make clean
9
10./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7' --enable-pic
11
12make
13
14mv libavcodec/libavcodec.a armv7/
15mv libavdevice/libavdevice.a armv7/
16mv libavformat/libavformat.a armv7/
17mv libavutil/libavutil.a armv7/
18mv libswscale/libswscale.a armv7/
19
20rm lib/*.a
21
22cp armv7/*.a lib/