SDCC
More info
- Creator
- Sandeep Dutta
- Type
- C compiler
- License
- GPL
- Website
- sdcc.sourceforge.net
Small Device C Compiler: the free C compiler for the 8-bit architectures GCC never cared about, from the 8051 and Z80 to the STM8 and Padauk's three-cent chips.
Sandeep Dutta started the project in the 1990s and it is still alive, with releases several times a year. It is a cross-compiler with a backend per architecture, its own assembler and linker from the ASxxxx family, and standard libraries tuned for machines where a 256-byte stack counts as generous. Anyone who has programmed an 8051 knows why that matters: the architecture has four separate address spaces, and the compiler has to be told whether a variable lives in __data, __idata or __xdata.
Commercial rivals such as Keil C51 often produce tighter code, but SDCC is free, runs everywhere, and keeps an entire hobby culture of retro computers and cheap microcontrollers going.