KnightOS C compiler
Branch: master
Clone or download
Latest commit fbc72e5 Jan 26, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
device Add scas assembler/linker integration Feb 6, 2015
sdcc Fix cleanup Jan 26, 2019
support/util Re-add support code Sep 17, 2014
.gitignore Support custom preprocessors (#10) Oct 18, 2018
CMakeLists.txt Drop sdas/sdld Nov 15, 2014
ChangeLog Move files up a directory Sep 17, 2014
LICENSE GitHubify the repository Sep 17, 2014 Improves KnightOS/KnightOS#212 Dec 14, 2014

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

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.