Re:OCaml 4.10
by walterbell on Saturday February 22, 2020 @07:30AM
(#22390667)
Does Ocaml support cross-compilation, e.g. x86->arm?
[ Parent
| on HN ]
Some Googling leads to eg https://discuss.ocaml.org/t/ocaml-cross-compiler/1494/5
Re:OCaml 4.10
by StreamBright on Sunday February 23, 2020 @06:36AM
(#22396375)
You can compile to byte code that is platform-independent as far as I know.
On top of that Dune has some cross-compilation features.
https://dune.readthedocs.io/en/latest/cross-compilation.html