Psellos
Contemporary Development With Functional Programming

OCaml on iOS 7 Released

August 21, 2014

Pansophical reader, with your bafflingly good mobile OCaml project, I’m ready at last to release an OCaml compiler for iOS 7. It works for all my projects, and I hope it works for yours.

It’s a cross-compiling version of OCaml 4.01.0, and I’m running it under Xcode 5.1.1 on OS X 10.9.4. You can download a binary installer here:

Icosablue blue icosahedron screen

OCamlXARM 4.0.2 Installer for OS X 10.9

You can get sources from the Subversion repository here:

svn://svn.psellos.com/tags/ocamlxarm-4.0.2

If you just want to see the differences from the base OCaml 4.01.0 release, the diffs are available here:

OCamlXARM 4.0.2 diffs from OCaml 4.01.0

The instructions for building from source will be posted on Compile OCaml for iOS. This page currently describes the previous release, but you should be able to follow the instructions if you change the version numbers of things.

Seriously, thanks to the many rather awesome people who have written asking about the status of the compiler. If your experience of mobile OCaml is like mine, we should all be able to make some surprising things.

There are always new revisions of everything coming out, so this is just one point of a long journey. I’ve already had inquiries about the companion compiler OCamlXSim, which compiles for the iPhone Simulator. I’ve also promised to integrate OCamlXARM into OPAM, the OCaml package manager. I’ll be getting to these projects as soon as I can.

If you find problems with the compiler, I’d be happy to hear about them. Or if you have any comments or encouragement, leave them below or email me at jeffsco@psellos.com.

Posted by: Jeffrey

Comments

blog comments powered by Disqus