Thanks for your support... So there is no need now to create a new user.mak file .. and the process should be simply: ./configure-iphone -arch armv6 make dep && make clean && make if the above is true please someone with permission update the wiki because it is not clear about iOS 5. Best Regards, -----Original Message----- From: Ming Sent: Tuesday, January 03, 2012 9:15 PM To: pjsip list Subject: Re: user.mak does not configure for armv6 Yes, since iOS5 will now use llvm-gcc. On Wed, Jan 4, 2012 at 10:12 AM, Ashraf Jaddo <ash.x.ash at hotmail.com> wrote: > Is this new for ios5? > > Thanks > >> Date: Wed, 4 Jan 2012 09:27:39 +0800 >> From: ming@xxxxxxxxx >> To: pjsip at lists.pjsip.org >> Subject: Re: user.mak does not configure for armv6 > >> >> Hi Ashraf, >> >> You have to set the ARCH environment variable. For more information, >> please see: >> ./configure-iphone --help >> >> Best regards, >> Ming >> >> On Wed, Jan 4, 2012 at 8:08 AM, Ashraf Jaddo <ash.x.ash at hotmail.com> >> wrote: >> > >> > Hello all, >> > >> > I updated last week to xcode 4.2 to support iOS5. my application >> > supports >> > both armv6 and armv7 so i was compiling for both architectures then i >> > run >> > lipo to get universal libraries.. this was working before the update >> > now >> > i >> > am not able to configure to armv6.. >> > >> > this is what i used to do to get arm6 binaries: >> > >> > rm user.mak >> > cp armv6user.mak user.mak >> > ./configure-iphone >> > make dep && make clean && make >> > >> > armv6user.mak simply contains: >> > ------------------------------------------------------------------------ >> > # You can create user.mak file in PJ root directory to specify >> > # additional flags to compiler and linker. For example: >> > >> > export CFLAGS += -march=armv6 -mcpu=arm1176jzf-s >> > export LDFLAGS += -march=armv6 -mcpu=arm1176jzf-s >> > >> > ------------------------------------------------------------------------- >> > >> > the configure and build works fine but i see this in the log: >> > "Configure-iphone: ARCH is not specified, choosing -arch armv7" why it >> > did >> > not get an ARMv6 !???? >> > >> > also if i continued and compiled again for arm7 and do lipo i get on >> > all >> > my >> > binaries: >> > lipo: ../pjsip-armv6/third_party/lib/libspeex-arm-apple-darwin9.a and >> > ../pjsip-armv7/third_party/lib/libspeex-arm-apple-darwin9.a have the >> > same >> > architectures (armv7) and can't be in the same fat output file >> > >> > >> > Best Regards, >> > >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 > _______________________________________________ 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