3 ms·
It's certainly possible! You just need to know which compiler to use. For example, I used musl-gcc to compile a static binary that can run on any 64-bit GNU/Lin
by kaushalmodi 8y ago
It's certainly possible! You just need to know which compiler to use. For example, I used musl-gcc to compile a static binary that can run on any 64-bit GNU/Linux type OS.
See my recent post https://scripter.co/nim-deploying-static-binaries/ https://scripter.co/nim-deploying-static-binaries/.
Download and run binary to try: https://github.com/kaushalmodi/hello_musl/releases https://github.com/kaushalmodi/hello_musl/releases (prints just "Hello, world!").
I plan to release similar binary for my ntodo[0] project, that will make API calls to fetch/set tasks in Todoist.
[0]: https://github.com/kaushalmodi/ntodo https://github.com/kaushalmodi/ntodo