# gdc-wrapper **Repository Path**: zjh6/gdc-wrapper ## Basic Information - **Project Name**: gdc-wrapper - **Description**: No description available - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-14 - **Last Updated**: 2026-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README gdc-wrapper =========== `gdc-wrapper` is a wrapper that will allow you to build [GDC](https://wiki.dlang.org/GDC), the [D](https://dlang.org/) compiler from [GCC](https://gcc.gnu.org/), using [DMD](https://wiki.dlang.org/DMD). Currently, GCC [documentation](https://gcc.gnu.org/install/prerequisites.html) states, "In order to build GDC, the D compiler, you need a working GDC compiler (GCC version 9.4 or later) and D runtime library, 'libphobos', as the D front end is written in D." But this is untrue; DMD can build GDC. This wrapper binary allows that to happen. This wrapper binary is ideal for systems that want to bootstrap their own GDC, usually because these systems have a DMD binary but not a GDC binary. Building -------- `gdc-wrapper` is written in [D](https://dlang.org/). The `configure` script will find a suitable D compiler automatically, or you can manually specify a D compiler with the `--dmd` configure flag. ```sh $ ./configure [--dmd=/path/to/dmd] $ make ``` You can then temporarily add the `gdc-wrapper` binary to your `PATH`: ```sh $ export PATH=$PATH:$PWD ``` You can then build GDC as normal. Once GDC has completed building and installing, you should remove the temporary `PATH` addition. LICENSE ------- ISC License. See `LICENSE` for more information.