views:

72

answers:

1

On OSX 10.6.4 with iPhone SDK and Xcode 3.2.1 installed:

$ gcc foo.c -arch arm

gcc-4.2: error trying to exec '/usr/bin/arm-apple-darwin10-gcc-4.2.1':execvp: No such file or directory

A: 

$ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -O3 -arch armv7 bar.c -c

JanePhanie