logoalt Hacker News

einpoklumtoday at 9:17 AM5 repliesview on HN

This seems interesting even regardless of go. Is it realistic to create an executable which would work on very different kinds of Linux distros? e.g. 32-bit and 64-bit? Or maybe some general framework/library for building an arbitrary program at least for "any libc"?


Replies

quesomaster9000today at 9:35 AM

Cosmopolitan goes one further: [binaries] that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS on AMD64 and ARM64

https://justine.lol/cosmopolitan/

show 2 replies
sambuccidtoday at 10:01 AM

Appimage exists that packs linux applications into a single executable file that you just download and open. It works on most linux distros

show 1 reply
iberatortoday at 10:11 AM

Yup. Just compile it as static executable. Static binaries are very undervalued imo.

show 4 replies