https://discuss.ocaml.org/t/generating-static-and-portable-executables-with-ocaml may be relevant. I’ve followed the steps described in the ocamlpro blogpost with success in the past (though I’m running linux).
Armael
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Distributing OCaml binaries for MacOS | 5 | 339 | August 13, 2025 | |
| Easy way to build and distribute OCaml executables for all the popular platforms? | 3 | 2792 | March 23, 2022 | |
| Generating static and portable executables with OCaml | 8 | 4631 | October 24, 2021 | |
| Compiling 100% static executables | 4 | 4038 | November 15, 2021 | |
| [ANN] Windows-friendly OCaml 4.12 distribution - Diskuv OCaml 0.1.0 | 26 | 5979 | November 1, 2022 |