Ok, here is the patch that will allow us to use the ARCH environment variable when compiling with GCC. -------------- next part -------------- A non-text attachment was scrubbed... Name: configure-iphone.patch Type: application/octet-stream Size: 695 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101013/5bf97232/attachment.patch> -------------- next part -------------- On Oct 13, 2010, at 5:05 AM, Benny Prijono wrote: > On Wed, Oct 13, 2010 at 12:46 PM, Mr. Gecko <grmrgecko at gmail.com> wrote: >> I finally got it to work by setting the CC environment variable. >> >> CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6" >> >> Note: You can't put the arch into the ARCH environment variable, someone didn't write the build script right. >> > > I wrote the build script that suits my purpose. If you have anything > to suggest please try to write a patch. > > 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