4 ms·
It doesn't seem that easy. How would you do that in Python or Ruby? Indeed, you can't easily do it with anything that links against glibc as it wont do static l
by justincormack 12y ago
It doesn't seem that easy. How would you do that in Python or Ruby? Indeed, you can't easily do it with anything that links against glibc as it wont do static linking for some things, so even for C code it can be non trivial (install Musl libc).
- istvan__ 12y agoSince Go is compiled it would be fair to see the other compiled languages, but I guess even Python and Ruby has some level of support. OCaml -> http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual025.html http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual025.ht... Rust -> rustc -C link-args=-static-libgcc hello.rs C -> gcc -o foo main.o -static -lbaz -lbar Python -> http://www.py2exe.org/ http://www.py2exe.org/ Ruby -> https://github.com/larsch/ocra https://github.com/larsch/ocra