Small Device C Compiler

Small Device C Compiler
DevelopersSandeep Dutta and others
Stable release
4.6.0 / June 22, 2026 (2026-06-22)
Operating systemMicrosoft Windows, macOS, Linux
TypeC compiler
LicenseGPL
Websitesdcc.sf.net Edit this on Wikidata
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)"