首页 > 其他分享 >cosmopolitan libc-your build-anywhere run-anywhere c library

cosmopolitan libc-your build-anywhere run-anywhere c library

时间:2024-02-26 12:12:09浏览次数:49  
标签:cosmocc run zip libc anywhere build your

author's link

Cosmopolitan Libc makes C a build-anywhere 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 on AMD64 and ARM64 with the best possible performance.

Getting Started

First, download the Cosmopolitan toolchain:

mkdir cosmocc
cd cosmocc
wget https://cosmo.zip/pub/cosmocc/cosmocc.zip
unzip cosmocc.zip

标签:cosmocc,run,zip,libc,anywhere,build,your
From: https://www.cnblogs.com/soarowl/p/18034025

相关文章