While we're speaking of patches, I discovered something in the configure-iphone script that I see no use of: export RANLIB="echo ranlib" It compiles just fine without that line in the configure, so either it should be removed or changed to: Index: configure-iphone =================================================================== --- configure-iphone (revision 3343) +++ configure-iphone (working copy) @@ -103,7 +103,7 @@ export CFLAGS="${CFLAGS} ${ARCH} -isysroot ${SDKPATH}" export LDFLAGS="${LDFLAGS} ${ARCH} -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation" export AR="${DEVPATH}/usr/bin/libtool -static -o" -export RANLIB="echo ranlib" +export RANLIB="${DEVPATH}/usr/bin/ranlib" # Use gcc -E as preprocessor instead of cpp, since cpp will find the # header files in standard /usr/include instead of in isysroot export CPP="${CC} ${ARCH} -E -isysroot ${SDKPATH}" Best regards, Even Andr? On 14. okt. 2010, at 01.58, Benny Prijono wrote: > On Wed, Oct 13, 2010 at 11:03 PM, Mr. Gecko <grmrgecko at gmail.com> wrote: >> Ok, here is the patch that will allow us to use the ARCH environment variable when compiling with GCC. >> > > That's better. I just check that in, thanks. > > Best regards, > Benny > > _______________________________________________ > 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 >