-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi.
There are several ways to cross-compile ocaml code to windows using mingw:
- either using opam and https://github.com/ocaml-cross/opam-cross-windows
- or using dune on sources directly, possibly with duniverse to fetch them.
On the other hand, nix also has native support for cross-compilation and this overlay exposes some ways to cross compile to, say, aarch64 through pkgsCross
.
It seems possible to me to extend that to cross-compiling ocaml to windows using mingw.
My questions are:
- has this every been tried?
- are there known blockers to this approach?
Thanks
Metadata
Metadata
Assignees
Labels
No labels