4. Build

The build process should fail several times.
First, it stops because cross-ocamlrun cannot be run on your host machine.
To solve the problem, you need to replace byterun/ocamlrun with the host ocamlrun.
Be careful not to overwrite the cross-ocamlrun.
Second, it stops because cross-ocamlyacc cannot be run on your host machine.
To solve the problem, you need to replace yacc/ocamlyacc with the host ocamlyacc.
Third, it fails in building ocamlbuild.
To solve the problem, you need to replace otherlibs/unix/dllunix.so with the host dllunix.so.
Finally, it fails in building ocamldoc.
To solve the problem, you need to replace otherlibs/str/dllcamlstr.so with the host dllcamlstr.so.

5. Run

Now you have ocamlrun.target (the runtime) and ocamlopt (the cross compiler).
To test the runtime, copy ocamlrun.target (the runtime), ocaml (the interpreter) and the libraries
to your iPhone/iPod Touch, and test them.
Be careful about dllunix.so and dllcamlstr.so
because they are replaced with the native ones in the above instruction.
If they work, install the runtime and libraries.