I am writing a program that targets several different phones, including the iPhone. The program depends on several thirdparty libraries. I am having dif
Thank you for your script. It did help me a lot. Though I had to make few changes so that the architecture of my built lib is arm and not i386.
First, I had to change the compiler:
# export CC="$DEVROOT/usr/bin/gcc-4.2"
export CC="$DEVROOT/usr/bin/arm-apple-darwin10-gcc-4.2.1"
Then I removed the -arch armv6 option, as this compiler doesn't understand it, from CFLAGS, CXXFLAGS, LDFLAGS
Updated the SDKVER and gcc version and it worked!