‹ BackHN Continuity

Thread

SDCC – Small Device C Compiler

137 points · 37 comments · lioeters

  1. dmitrygr · · focus · HN ↗
    SDCC has the best OSS 8051 compiler. It is buggy as hell, but it is free. Sometimes that is good enough.
    1. nickcw · · focus · HN ↗
      I used sdcc for an 8051 based commercial project a while back. I seem to remember spending more time reading the assembly to figure out workarounds for the compiler than actually writing C code!

      Whereas sdcc works brilliantly for z80 lineage processors. I wrote quite a lot of C for Gameboy recently and didn't find a single compiler bug in sdcc which revised my opinion of it upwards greatly.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.