← Sun, Nov 8 digest

The History of Djgpp (1998)

read article ↗ hn thread ↗

DJ Delorie recounts the history of DJGPP, detailing how he brought a 32-bit GCC environment and virtual memory to MS-DOS in the 1990s.

summary is enough It offers a neat historical look at early DOS toolchains, though the text is brief and primarily serves as a nostalgic trip.

summary

DJ Delorie traces the evolution of DJGPP from his first hacked GCC build for MS-DOS running on a 386 in the early 90s. To overcome memory limits and lack of virtual memory in DOS, he created the Go32 extender, ported BSD libc, and built a standard library. The toolchain grew through version iterations, eventually enabling 32-bit ports of major software like Quake and serving as a foundational environment for a generation of programmers.

key points

  1. DJGPP started because Delorie needed a 32-bit GCC compiler running on MS-DOS and wrote the Go32 memory extender to bypass DOS memory limits.
  2. The project evolved from a personal hack into a widely used platform that incorporated BSD libc and supported major 90s software like Quake and GhostScript.
  3. Version 2 was developed to support full self-bootstrapping at the request of Cygnus, introducing a 16-bit stub and reliance on DPMI services.

who should read it

Retrocomputing enthusiasts and developers nostalgic for 1990s DOS programming environments.

discussion warm

consensus

Participants share a deep nostalgia for DJGPP and the Allegro game library, noting it was an essential, free lifeline for young developers who could not afford commercial compilers in the 1990s.

pushback

A minor side thread debated the author's capitalization preferences for his own name.

best comment by dafelst ↗

DJGPP and the Allegro game library were my first foray into C++ in around 1996-1997 if I recall. Having access to a proper 32-bit protected mode system in DOS (without having to pirate a bunch of other compilers!) was a pretty incredible step forward for the community.

I pretty quickly moved onto building in Win95/98 with MSVC not long after, but I am very grateful to DJ for the compiler and Shawn Hargreaves for Allegro.

It highlights how DJGPP and Allegro democratized game development and C++ learning for teens who couldn't afford commercial software.

Generated by an LLM from the article and thread. Check the sources before relying on it.