Unofficial Hacker News companion — get notified on comment replies, and more.

Borland's DOS compilers, rebuilt from their own binaries (opens external site)

260 points by frostbyte7 2 days ago | github.com | 95 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. Not a lawyer, but I guess since the binaries for that version (plus MASM and more) are available with a MIT license, it would be OK to decompile and distribute the source code too?

    https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/TOOLS

    Not that I have found anything that I felt like I wanted to change. Maybe bring it up to full ANSI C89? It is already quite close though. Think there was some minor thing I ran into that was missing, but usually it just works to treat it as C89, and LLMs seem to have no problem with it either.