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 >