Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.42 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.42 KB

ocaml-crosscompiling

Tests, notes, suggestions for Ocaml cross-compiling.

For now I'll assume as a starting point that you have an Ocaml Android cross-compiler installed plus ocamlfind, with the cross-compiler set up as the android ocamlfind toolchain; this is what you will get if you use opam to install ocaml-android and android-ocamlfind from this opam android repository. By the way, that is all based on Vouillon's sterling work.

Goals:

  • simple building using ocamlbuild with ocamlfind where all outputs are for the target system
  • checking with intermediate modules/packages, and syntax extensions
  • more complix building using ocamlbuild with ocamlfind where some outputs are for the build system (e.g. intermediate build tools)
  • simple building using oasis where all outputs are for the target system
  • more complex building using oasis where some outputs are for the build system

See...: