Skip to content

KnightOS/kcc

master
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?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

KnightOS C Compiler

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

Compiling

kcc depends on flex/bison and boost.

cmake .
make
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 irc.freenode.net.

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.