I would really like to use OCaml in my App Store applications for the iPhone/iPod Touch platform. It appears that Apple uses a different ABI than the OCaml ARM backend and some changes are necessary to the code generator and runtime. If Apple's ABI is documented somewhere I haven't been able to find it. However, Jeffrey Scofield described a solution that works for single-threaded OCaml code, so perhaps the changes aren't overly difficult.

Additional Information

This website describes a procedure for building a version of 3.10.2 that works on jailbroken iPhones. This is not suitable for commercial apps though.

configure-libetpan is a script I used for configuring and building libetpan, an e-mail library, on both the iPhone simulator (x86) and the iPhone itself (arm). I'm including it here as an example of how to use Apple's gcc on the command line for those platforms.