# Borland C++ 5.5.1: Static recompilation of Borland C++ 5.5.1 into native C with Claude

> Source: <https://reversedwithai.com/p/borland-c-5-5-1-a4c270ae>
> Published: 2026-11-30 22:19:36+00:00

**Key takeaway:** Static recompilation of bcc32.exe and ilink32.exe into native C, preserving Borland's run-time library and hand-written assembly, reproduced byte-identical output on six test programs covering C, x87 floating point, templates, STL, C++ and structured exceptions, the multithreaded RTL and a Win32 GUI

## Who did what

The project uses a conformance harness to verify that the recompiled tools match the original Borland binaries byte-for-byte across six test cases.

## What was done

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.

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.

## Try it

Download the repository, run Setup.cmd on Windows, and use the provided BCC55 Recomp Prompt to execute the tools.

## Discussion

[Your library](https://reversedwithai.com/library)

## Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 30 Nov 2026. The figures are the author's. [How entries are checked.](https://reversedwithai.com/about#method) [Something wrong? Tell me.](https://reversedwithai.com/policy#takedown)
