Bootstrapping GDC with DMD: A Simple Solution for FreeBSD Users

Bootstrapping GDC with DMD

3LorenDB💬 0
Bootstrapping GDC with DMD: A Simple Solution for FreeBSD Users

I discovered that the official documentation claiming GDC must be built with GDC is unnecessary. By creating a small wrapper to translate compiler flags, I successfully bootstrapped GDC on FreeBSD using DMD. This straightforward method allows anyone without a pre-packaged GDC to build the compiler quickly, bypassing the need for complex, time-consuming GCC builds.

"What is so special about GDC that it is the only D compiler that can build GDC?"

More from this day · 2026-07-15