{
  "id": 22584795,
  "title": "Borland's DOS compilers, rebuilt from their own binaries",
  "url": "https://urgent.news/2026/11/29/borlands-dos-compilers-rebuilt-from-their-own-binaries",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T12:51:39.000Z",
  "source": {
    "name": "Hacker News",
    "slug": "hacker-news",
    "url": "https://github.com/abedegno/borland-reborn"
  },
  "original_language": null,
  "account": "Borland's DOS compilers have been rebuilt from their own binary files, through a dedicated repository. This project meticulously recovers Borland's compiler source code from published executables, ensuring each byte of the recovered C and assembly code perfectly aligns with the original Borland toolchain. To enhance readability, the project incorporates real names, named record fields, file comments, and compiler notes. Additional Borland and Turbo versions are planned to be added as separate directories. The project relies on the original Borland programs, not included in this repository, and provides a comprehensive guide in docs/SETUP.md. The final step involves compiling all 298 sources in DOS, cross-checking each function with the original byte for byte, verifying relocations, names, and linking a new BCC.EXE identical to Borland's. Modifying the compiler is achieved through the modding build, which links the same sources using TLINK's layout, allowing for potential code and data reorganization. A tracing emulator demonstrates the compiler's address usage and code execution, covering 83% of cases (bc20/bcc/docs/COVERAGE.md). For further customization and understanding, refer to bc20/bcc/docs/MODDING.md and docs/HOW-IT-WORKS.md. Corrections, enhancements, and contributions are welcome, detailed in CONTRIBUTING.md. The project's scripts and documentation are licensed under MIT (LICENSE), while the recovered sources, derived from Borland's copyrighted programs, are provided for study and preservation purposes only, with no rights claimed.",
  "summary": null,
  "summary_source": "publisher",
  "key_points": [
    "Borland's DOS compilers rebuilt from binary files",
    "Project recovers compiler source code byte-for-byte",
    "Final step verifies recompiled BCC.EXE identical to original"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}