Skip to content

Releases

Borland C++ 2.0 native compiler bcc20-v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 09:18

bcc (Borland C++ 2.0's command-line compiler as a native program) and libbcc20
(one compile in-process, memory to memory), for Linux, macOS and Windows. Each build
was checked against BCC.EXE's own outputs before release.

Borland's headers and libraries are not included: bcc needs Borland C++ 2.0's
INCLUDE directory (see the README in each archive). The compiler contains data
from Borland's BCC.EXE; read NOTICE.md.

Changes since bcc20-v0.1.0

  • bcc20run --serve: a compile server, for tools that keep a pool of compilers running.
  • Snapshots in the library and the compile server: a compile can be paused and finished from a saved state.
  • -B and inline assembly now work in the library and the compile servers.
  • Library jobs of up to 4000 files.
  • Windows: the native compiler and library build with current MSYS2 binutils again, and the shared library is named libbcc20.dll (thanks to @xiaoshaoning, #1).
  • make smoke: an offline check that build/bcc and libbcc20 write the same object.
  • scripts/setup-toolchains.py puts STAT.H, TIMEB.H and TYPES.H in INCLUDE\SYS.

Borland C++ 2.0 native compiler bcc20-v0.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 15:00

bcc (Borland C++ 2.0's command-line compiler as a native program) and libbcc20
(one compile in-process, memory to memory), for Linux, macOS and Windows. Each build
was checked against BCC.EXE's own outputs before release.

Borland's headers and libraries are not included: bcc needs Borland C++ 2.0's
INCLUDE directory (see the README in each archive). The compiler contains data
from Borland's BCC.EXE; read NOTICE.md.

Borland C++ 2.0 BCC.EXE: byte-identical rebuild

Choose a tag to compare

@abedegno abedegno released this 12 Nov 09:33

The first complete version: Borland C++ 2.0's command-line compiler, BCC.EXE, recovered as source that rebuilds Borland's executable byte for byte (502,432 bytes, SHA-256 dd5744b99c6fa61dc1d95c580a1f1d6f1b3e97ae8b920dd6e9cfedce29f82fb6).

What is in it

  • 298 sources in 15 subsystem directories: 236 C files built with Borland C++ 2.0, 29 run-time modules built with Turbo C 2.01, and 33 hand-written TASM modules, each kept in its original language.
  • About 3,100 named functions, globals and labels, 300 record fields and 40 record layouts, each name recorded with its evidence in bcc20/map/names.tsv.
  • Comments on every file and routine, a source map, notes on how the compiler is organised, and findings: likely bugs in the original, duplicated and dead code, and how the compiler works inside.

Verified

From a fresh clone, with the toolchains installed from the WinWorld downloads named in docs/SETUP.md:

pass  match + verify             298/298 sources
pass  symbols.tsv from scratch   2630 names
pass  exact link                 byte-identical to the original

CHECK PASSED

No Borland program, header or disk image is included. You need your own copies to rebuild; see docs/SETUP.md and NOTICE.md.