[see also the Windows or the Mac OS X versions]

Please note: The D Programming Language version 1 is discontinued effective December 31, 2012.

For the latest language development, see: dlang.org

There is now no support for GCC versions older than 4.7.0, and the new license is GPL version 3.

For the latest compiler development, see: gdcproject.org

gdcgnu - GCC D Compiler for GNU/Linux (“FSF” GCC)

SourceForge.net Project page: http://sourceforge.net/projects/gdcgnu/

D logo
 

D is a general purpose systems and applications programming language.

The D programming language is a higher level language than C++, but retains the ability to write high performance code and interface directly with the operating system API's and with hardware. D is not a scripting language, nor an interpreted language.

The Digital Mars D Compiler (DMD), is also available for various systems

DMD by Digital Mars, see http://www.digitalmars.com/d/

The official D "reference" compiler, DMD, is based on the same back-end as the Digital Mars C/C++ compiler for Windows. The GDC compiler was made by adapting the DMD frontend source code, to work with the regular GCC backend.

The GCC D Compiler (GDC) is based on the GNU Compiler Collection (GCC)

GDC by David Friedman, see http://dgcc.sourceforge.net/

You can run programs created with GDC on any GNU/Linux machine (no special run-time libraries required) It is also possible to link with programs created by the usual versions of the GCC C Compiler (gcc) and the GCC C++ Compiler (g++).


Current Release

Note: The packages have some issues with newer distros, as they were built originally for older Fedora Core releases.

Download GDC r229 for MinGW, based on DMD 1.030 and released in June 2008:

RPM: (Fedora, RedHat, etc.) - no offical Fedora package, it uses LDC/Tango

 GDC r229 for x86 GNU/Linux (Intel 32-bit) based on GCC 4.3.5, 2.5 MB
 Phobos standard library import modules required dependency, 700 kB

DEB: (Ubuntu, Debian, etc.) - see the official Debian package called "gdc-4.3"

You need to have regular GCC Developer Tools already installed, in order to use this GDC package. Source packages are available too, usually just GDC without the GCC/GDB sources included - those are available separately (for size reasons only)

Previous Release

Download GDC 0.24 for GNU/Linux, based on DMD 1.020 and released on Aug 22 2007:

RPM: (Fedora, RedHat, etc.) - no offical Fedora package, but see gdcgnu.repo

 GDC 0.24 for x86 GNU/Linux (Intel/PC) based on GCC 4.1.2, 3.2 MB
 This package contains gdc, built for i686-pc-linux-gnu from FSF GCC with GDC.
 GDB-D 0.0 for x86 GNU/Linux (Intel/PC) based on GDB 6.5, 2.8 MB
 This is the GNU debugger with patches for D support, built for i686-pc-linux-gnu.
 GDC 0.24 for PPC GNU/Linux (PowerPC/Mac) based on GCC 4.1.2, 3.7 M
 This package contains gdc, built for powerpc-unknown-linux-gnu from FSF GCC with GDC.
 GDB-D 0.0 for PPC GNU/Linux (PowerPC/Mac) based on GDB 6.5, 4.3 M
 This is the GNU debugger with patches for D support, built for powerpc-unknown-linux-gnu.

DEB: (Ubuntu, Debian, etc.) - see the official Debian package called "gdc-4.1"


Software License

GDC is Free Software, released under the GNU General Public License (GPL)

Free Software grants you four basic freedoms: (see also the License Agreement)

  • Freedom to use the program, for any purpose.
  • Freedom to study how the program works and to adapt it to your needs (source code access).
  • Freedom to copy and distribute (you can help your neighbour).
  • Freedom to improve the program and make the enhancements available so all the community benefits.