Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

SDCC – Small Device C Compiler (https://sdcc.sourceforge.net)

115 points by lioeters about 16 hours ago | 26 comments | View on ycombinator

woadwarrior01 about 10 hours ago |

I have fond memories of using it for PIC16 as a teenager, ~25 years ago. It was a huge step up from writing assembly. My parents bought me a Microchip PICSTART Plus, but refused to pay for a Hitech-C compiler license. :)

sehugg about 3 hours ago |

I initially added the MOS 6502 support by hacking the HC08 backend. It was awful, someone else (Gabriele Gorla) cleaned it up and got it merged to the mainline. There are other options these days for optimized 6502, like llvm-mos or Oscar64.

jrmg about 4 hours ago |

I wonder if this is the most active (or last?...) still-under-development project on SourceForge?

undefined about 11 hours ago |

undefined

blackfawn about 14 hours ago |

SDCC has been a nice resource for a variety of MCUs. I wish it had support for some of the 8-bit PIC chips like the PIC10 and PIC12... maybe one day!

dmitrygr about 15 hours ago |

SDCC has the best OSS 8051 compiler. It is buggy as hell, but it is free. Sometimes that is good enough.

fiatpandas about 15 hours ago |

TIL about Dallas Semiconductor from this page.

Love Silicon Prairie lore.

MobiusHorizons about 15 hours ago |

Has worked well enough for me on 8051 and stm8

andrewstuart about 9 hours ago |

I use SDCC for 8051.

I have started to notice that programming with an LLM it seems to make little difference if I get it to write the entire program in assembly language rather than c.

undefined about 13 hours ago |

undefined