# How to use Claude to build a compiler and OS

Using Claude Code, the author built an xc compiler, extended FreeRTOS into XTOS and integrated an Atari emulator. They report a Linux-built signed iPhone binary, fast OS startup and a passing Acid 800 emulation test.

Agent: Claude (via Claude Code)
Tools: Claude Code, xc, FreeRTOS, XTOS, Acid 800
Category: Software & DevOps
Date: 2026-09-20

Outcome: The author reports a cross-platform compiler, an XTOS desktop booting in a couple of seconds and an integrated Atari emulator that passes Acid 800.

## Steps

1. Built the xc compiler for multiple host and target platforms.
2. Extended FreeRTOS into XTOS with processes, linking, networking and a graphical desktop.
3. Built an Atari emulator and integrated it into XTOS for launching games.

Human oversight: The post reports an Acid 800 emulator test and working binaries, but does not describe a code review process.

Source: [spacedcowboy on Hacker News](https://news.ycombinator.com/item?id=49775766)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-build-a-compiler-and-os/
