There's an error trying to build a "hello world" project out of the box when selecting LLVM from the list of compilers in iPhone SDK:<br><a href="http://arrelid.com/archive/2009/01/15/xcode-iphone-sdk-llvm-gcc-fixing-what-apple-forgot">http://arrelid.com/archive/2009/01/15/xcode-iphone-sdk-llvm-gcc-fixing-what-apple-forgot</a><br>
This is on XCode 3.1.2, iPhone SDK 2.2.1 .<br><br>The blogger suggests what looks like a hack -- is there a proper solution to this?  Is llvm-gcc just missing a header that needs to be added to its distribution?<br>Also, switching from GCC 4.0 (default compiler) to GCC 4.2 also exhibits the same error, and it's not obvious how to fix it -- the idea from the blog post above isn't applicable.<br>
<br>On the bright side, Wolfenstein3D builds and runs when built with LLVM on the iPhone simulator, although it has a minor color issue with background: the normal color and the color shown when the user sustains hits are reversed.  Try it out to see what I mean: <a href="http://www.idsoftware.com/wolfenstein3dclassic/">http://www.idsoftware.com/wolfenstein3dclassic/</a> -- the source code is in the bottom-right corner.<br>

<br>Misha<br>