[opam-devel] [MirageOS-devel] Cross-compiling OCaml, Mirage OS for rumprun, OPAM integration

Peter Zotov whitequark at whitequark.org
Tue May 19 15:15:42 BST 2015


On 2015-05-19 16:58, Martin Lucina wrote:
> This begs the question, why did you use the approach of building the
> cross-compiler as a normal OPAM package, rather than as a compiler 
> package?

Because the cross-compiler needs a normal compiler (and its runtime)
to build and execute. Because many packages (from camlp4 to ppx)
depend on build-time components that execute on the host arch.
You also still have to add suffix to the version number, or else
there would be a conflict (I think).

-- 
Peter Zotov


More information about the opam-devel mailing list