Hi, Here is a shell script to compile opencore-amr Regards Samuel Le 26/01/12 12:58, Spencer MacDonald a ?crit : > Hi, > > In version 1.12 of PJSIP it mentions that it now supports > opencore-amr, but I am finding it impossible to compile opencore-amr > for iOS and I was wondering if I had missed any instructions? > > When I attempt to compile opencore-amr it always produces an x86_64 > (which is the architecture of the MacBook Air I am compiling it on) > and I have attempted using the following command to produce a armv6 > version but to no avail: > > ./configure --prefix=/usr/local/iphone --host=arm-apple-darwin9 --disable-shared --enable-gcc-armv5 CC="gcc -arch armv6 -sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CXX="g++ -arch armv6 -sdkroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" LDFLAGS="-Wl,-syslibroot,/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=4.0 -gdwarf-2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar > > Any help would be appreciated. > > Regards > > Spencer > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120126/0b1ac62c/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: build_ios.sh Type: application/x-sh Size: 1492 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120126/0b1ac62c/attachment.sh>