SDCC is a retargettable, optimizing standard C (ANSI C89 / ISO C90, ISO C99, ISO C11 / C17, ISO C23) compiler that targets a growing list of architectures: STM8, MCS-51, DS390, HC08, S08, Z80, Z180, R800, Rabbit, SM83, eZ80 in Z80 mode, Z80N, TLCS-90, Padauk PDK14 and PDK15 microprocessors. There also is incomplete support for the Microchip PIC16 and PIC18 and the Padauk PDK13 and MOS 6502.

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2), GNU General Public License version 3.0 (GPLv3)

Follow Small Device C Compiler (SDCC)

Small Device C Compiler (SDCC) Web Site

Other Useful Business Software
Total Network Visibility for Network Engineers and IT Managers Icon
Total Network Visibility for Network Engineers and IT Managers

Network monitoring and troubleshooting is hard. TotalView makes it easy.

This means every device on your network, and every interface on every device is automatically analyzed for performance, errors, QoS, and configuration.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
39
2
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • Very nice project. I would like to use it as a replacement for non free toolchains for STM8. Works already well for medium memory model and almost for large model.
  • Sometimes you have to look for information outside the documentation, but apart from that it's a very good tool suite for developing on z80 (the only port I tried so far).
  • Thank you! Just a quick note to say 'thanks' for SDCC. Despite having a few warts here and there, it's (in my mind at least) the premiere (and in a few cases, the only) C-compiler for the targets supported. Thank you for your hard and valuable work.
  • The best open source C compiler for Z80 and the last C compiler for z80 still being currently maintained (as all the commercial alternative have been discontinued). The code generation could improve e.g. by supporting alternate registers, undocumented z80 instructions and by increasing the number of peep hole rules applied in code optimisation. Compared to hand coded ASM the code generated still is slower and bigger, but it is quickly improving and, with the last change in parameter passing, it is starting to outperform the other commercial solutions (20 years older). The assembler is very bare bone and, due to bugs and its odd opcode notation, is not the best to integrate existing libraries in C projects. Never the less you will not find anything better among opensource C compilers for z80
    1 user found this review helpful.
  • My favourite C compiler for small µCs.
Read more reviews >

Additional Project Details

Operating Systems

Solaris, Linux, FreeBSD, NetBSD, BSD, Mac, Windows

Intended Audience

Developers

User Interface

Command-line

Programming Language

C++, C

Related Categories

C++ Compilers, C++ Cross Compilers, C Compilers, C Cross Compilers

Registered

1999-12-07