Autarkeia OS

A Linux system built entirely by the Tiny C Compiler: the kernel, musl, BusyBox, the X server, the desktop and the web browsers are compiled, assembled and linked by a patched tcc, with no GCC and no binutils. And it can rebuild itself: inside the running system, tcc compiles the kernel and tcc again.

Latest release: 1.1 "Teleios", 2026-11-25 · x86_64 and i386 · live ISO, BIOS and UEFI

Download 1.1 Source on GitHub

About

Autarkeia is Greek for self-sufficiency. The project's goal is a complete, usable operating system produced by one small compiler, to find out how far tcc can be taken and to fix it where it falls short. Every compiler fix is recorded and kept as a patch series against upstream tinycc.

Autarkeia OS is an independent system, not based on another distribution. Its components are pinned upstream sources (sources.lock), built from source by the project's scripts.

No GCC, no binutils

tcc compiles every C and .S file of the kernel, including the 16-bit boot code; tld, the project's small linker, links it. The kernel is vanilla Linux 7.3 with no kernel patches.

Self-hosting

The self-hosting image carries the kernel, tcc, tld and GNU make sources. build-kernel inside the guest builds a kernel that boots as "generation 2".

A desktop

The TinyX X server with Composite, the JWM window manager, an xdm login, the mlterm terminal, the xfiles file manager and the xedit editor.

Web browsers

NetSurf 3.11 with JavaScript on QuickJS, and links in text and graphics mode, both with TLS from LibreSSL.

Real hardware

Drivers for ACPI, storage, Wi-Fi (wpa_supplicant), GPUs, touchpads, Ethernet, USB, sound and EFI. It boots to the desktop on a laptop; install.sh writes the ISO to a USB stick.

Two architectures

x86_64 and i386 (the 32-bit x86 kernel), both self-hosting. arm64 and other kernels (OpenBSD, FreeBSD, Hurd) are planned.

Download

Experimental research software. The whole system is built by a heavily patched compiler, so miscompilation is possible. It is insecure by design: fixed accounts with published passwords, a root without a password, setuid-root programs and no security updates. Run it in a virtual machine, or on a machine that holds nothing of value, and not on a network you do not control.
ImageSizeFor
autarkeia-1.1-x86_64.iso208 MB64-bit x86 PCs
autarkeia-1.1-i386.iso160 MB32-bit x86 PCs (i686)

Checksums: SHA256SUMS (sha256sum -c SHA256SUMS). Package list: PACKAGES.md. All releases: GitHub releases.

Requirements

Logging in

The default boot entry is a graphical login. The accounts are ada / lovelace, grace / hopper and dennis / ritchie; su in a terminal gives root. The boot menu also has a text console, a serial console and the self-hosting mode.

Screenshots

The xdm login screen: Log in to Autarkeia OS, over a photo of a pine branch
The xdm login on TinyX
The JWM desktop with the mlterm terminal open
JWM and the mlterm terminal
The NetSurf browser showing the Wikipedia article on the Tiny C Compiler
NetSurf with JavaScript on QuickJS (the page: Wikipedia, CC BY-SA 4.0)
The text console with the boot banner of Autarkeia OS
The console: every file compiled by tcc

Documentation

Support