# Compiling 100% static executables

**URL:** <https://discuss.ocaml.org/t/compiling-100-static-executables/8789>\
**Category:** Ecosystem\
**Created:** [November 10, 2021, 2:17pm UTC](https://discuss.ocaml.org/t/compiling-100-static-executables/8789 "2021-11-10T14:17:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rbjorklin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/rbjorklin/32/1126_2.png) [@rbjorklin](https://discuss.ocaml.org/u/rbjorklin)\
**Post date:** [November 10, 2021, 4:44pm UTC](https://discuss.ocaml.org/t/compiling-100-static-executables/8789/2 "2021-11-10T16:44:38Z")

</div>

I followed the blog post from this Discuss thread: [Generating static and portable executables with OCaml](https://discuss.ocaml.org/t/generating-static-and-portable-executables-with-ocaml/8405) to put together the solution in this repo: [GitHub - rbjorklin/throttle-fstrim](https://github.com/rbjorklin/throttle-fstrim)

---

_[View the full topic](https://discuss.ocaml.org/t/compiling-100-static-executables/8789)._
