Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

KnightOS C Compiler

The KnightOS C Compiler (kcc) is a fork of sdcc. It's a work in progress.


kcc depends on flex/bison and boost.

cmake .
make install # as root

Differences from SDCC

  • KnightOS support
  • kcc includes man pages
  • Switched from autotools to cmake
  • Dropped all targets but z80
  • Removed unneccessary subsystems (like simulators)
  • General clean up and refactor

Why a fork?

We presented our needs upstream and they were not interested in them.

Help, Bugs, Feedback

If you need help with KnightOS, want to keep up with progress, chat with developers, or ask any other questions about KnightOS, you can hang out in the IRC channel: #knightos on

To report bugs, please create a GitHub issue or contact us on IRC.

If you'd like to contribute to the project, please see the contribution guidelines.