Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable. Cosmopolitan can be compiled from source on any Linux distro. GNU make needs to be installed beforehand. This is a freestanding hermetic repository that bootstraps using a vendored static gcc9 executable. No further dependencies are required.
Features
- Runs natively on Linux, Mac, Windows, FreeBSD, OpenBSD, and NetBSD
- Makes C a build-once run-anywhere language
- Doesn't need an interpreter or virtual machine
- Reconfigures stock GCC and Clang to output a POSIX-approved polyglot format
- Cosmopolitan can be compiled from source on any Linux distro
- No further dependencies are required
Categories
LibrariesLicense
ISC LicenseFollow Cosmopolitan
Other Useful Business Software
Build AI Apps with Gemini 3 on Vertex AI
Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Cosmopolitan!