{
  "api_version": "1.0.0",
  "slug": "borland-c-5-5-1-a4c270ae",
  "url": "https://reversedwithai.com/p/borland-c-5-5-1-a4c270ae",
  "markdown_url": "https://reversedwithai.com/p/borland-c-5-5-1-a4c270ae.md",
  "json_url": "https://reversedwithai.com/p/borland-c-5-5-1-a4c270ae.json",
  "title": "Static recompilation of Borland C++ 5.5.1 into native C with Claude",
  "tagline": "A static recompilation project for Borland C++ 5.5.1 command-line tools.",
  "summary": "This project performs static recompilation of the Borland C++ 5.5.1 compiler and linker into native C code, achieving byte-identical output for six test programs using the pcrecomp toolchain.",
  "target": {
    "name": "Borland C++ 5.5.1",
    "type": "legacy",
    "type_label": "Legacy software"
  },
  "platform": "Windows",
  "models": [
    "Claude Opus 5.5"
  ],
  "tools": [
    "pcrecomp",
    "MSVC",
    "pefile",
    "capstone"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "sp00nznet",
    "url": null
  },
  "sources": {
    "repository": "https://github.com/sp00nznet/bcc55-recomp",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/sp00nznet/bcc55-recomp"
    ]
  },
  "image": {
    "url": "https://haaxbwoinboxsljnurfv.supabase.co/storage/v1/object/public/covers/curation/a4c270ae-9f4f-4454-9b2c-54ee477c3a89.webp",
    "credit": "Source: raw.githubusercontent.com"
  },
  "commit_history": null,
  "added_at": "2026-11-30T22:19:36.178451+00:00",
  "updated_at": "2026-11-30T22:19:36.178451+00:00",
  "sources_reviewed_at": "2026-11-30T22:19:36.178451+00:00",
  "reviewed_by": "automated",
  "human_notes": "The project uses a conformance harness to verify that the recompiled tools match the original Borland binaries byte-for-byte across six test cases.",
  "reproduce": "Download the repository, run Setup.cmd on Windows, and use the provided BCC55 Recomp Prompt to execute the tools.",
  "body_md": "The bcc55-recomp project performs static recompilation of the Borland C++ 5.5.1 Free Command-Line Tools, specifically the bcc32.exe compiler and ilink32.exe linker. The process lifts these Win32 executables into native C code, which is then compiled with MSVC to run on the pcrecomp native32 host. This implementation preserves Borland's original run-time library, including startup code, threadvars, exception handling, and hand-written assembly in the preprocessor. The author reports that the recompiled tools are tested against a corpus of six programs covering C, x87 floating point, templates, the bundled STL, C++ and structured exceptions, the multithreaded RTL, and a Win32 GUI program. According to the README, the recompiled tools produce byte-identical output compared to the original tools, with clock stamps masked. The project documentation is available at [https://raw.githubusercontent.com/sp00nznet/bcc55-recomp/HEAD/README.md](https://raw.githubusercontent.com/sp00nznet/bcc55-recomp/HEAD/README.md). Commit logs indicate that Claude Opus 5.5 co-authored the development of the repository. Current limitations include the lack of Linux or macOS support and the fact that bcc32 without the -c flag still invokes the original ilink32.exe.",
  "ai_use_excerpts": null
}
