lame decode
ZoneLue <[email protected]>
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <[email protected]> |
hi!
How i can compile under xcode5.1 for iOS 7.1.1
mkdir -p build
rm -rf build/* #*/
function build_lame()
{
make distclean
./configure \
CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/${SDK}.platform/Developer/SDKs/$SDK$SDK_VERSION.sdk" \
CC="/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -arch $PLATFORM -miphoneos-version-min=7.1" \
--prefix="/Users/ZoneLue/Project/lame399/$PROJECTNAME" \
--host="$HOST" \
--disable-shared \
--enable-static \
--disable-frontend \
make
cp "$PROJECTNAME/.libs/$PROJECTNAME.a" "build/$PROJECTNAME-$PLATFORM.a"
}
PROJECTNAME=libmp3lame
SDK_VERSION=7.1
#SDK="iPhoneSimulator"
#HOST="i686-apple-darwin13.2.0"
#PLATFORM="i686"
#build_lame
SDK="iPhoneOS"
HOST="arm-apple-darwin13.2.0"
PLATFORM="armv7"
build_lame
#SDK="iPhoneOS"
#HOST="arm-apple-darwin13"
#PLATFORM="armv7s"
#build_lame
lipo -create build/$PROJECTNAME-* -output build/$PROJECTNAME.a
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk