So, having got ssh set up, I wanted to try out the application toolchain... Has anyone got this to work on a Mac ? Mine seems to be searching /usr/include/... rather than /Developer/SDKs/iPhone/include/... for files.
If I put a -v on the gcc driver, I get the following output:
It seems to be using /usr/include/sys/types.h whereas there's a perfectly serviceable one in /Developer/SDKs/iPhone/include/arm/types.h which I think it ought to be picking up instead...
arm-apple-darwin-cc -v -c hello.m -o hello.o
/Developer/SDKs/iPhone/bin/llvm-gcc -E -U__i386__ -U__ppc__ -D__arm__ -isystem /Developer/SDKs/iPhone/include -o /tmp/JWyWzv.i hello.m
In file included from /usr/include/sys/types.h:69,
/usr/include/sys/cdefs.h:335:4: error: #error Unknown architecture
Replying to myself, but if anyone else needs to know, there's a HOWTO for getting the toolchain up and running (there are more steps than in the wiki) at http://ellkro.jot.com/HowToBuildObjCApps.
Following this creates a toolchain that actually builds the sample 'helloworld' binary for me.