I am trying to build speex library for iphone. I edited the makefile from i386 to ARM but on configuring it automatically changes back to i386. Also i tried to change the host and build in commandline(make --host=arm-apple-darwin10 --build=arm-apple-darwin10). But it says "This program built for i386-apple-darwin10.0". Where should i change to compile for ARM or should i need to write a new makefile for ARM. I am new to makefiles and iOS. Please someone help me to solve this out.
Thanks in advance.
Thanks in advance.