| Small Device C Compiler | |
|---|---|
| Developers | Sandeep Dutta and others |
| Stable release | 4.6.0
/ June 22, 2026 |
| Operating system | Microsoft Windows, macOS, Linux |
| Type | C compiler |
| License | GPL |
| Website | sdcc |
| Repository | |
The Small Device C Compiler (SDCC) is a free-software, partially retargetable C compiler for 8-bit microcontrollers. It is distributed under the GNU General Public License. The package also contains an assembler, linker, simulator and debugger. SDCC is a popular open-source C compiler for microcontrollers compatible with Intel 8051/MCS-51.
Version 4.6.0 added e.g. "C2y _Countof operator", octal, and if-declaration, "Conditional operator with omitted second operand (originally a GNU extension)"; C23 compound literals with storage class specifiers and "C23 constexpr (mostly)"
Sources, documentation, and binaries are available for Linux (32-bit and 64-bit), macOS (PPC and 64-bit), and Windows (32-bit and 64-bit).
The following include binary compatible derivatives:
Work in progress:
Obsolete: