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

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

SourceForge.net Project page: http://sourceforge.net/projects/gdcgnu/ (Bug Reports, Feature Requests, etc)

D logo  

D is a general purpose systems and applications programming language.

D by Walter Bright, see http://d-programming-language.org/

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 available for Windows and x86 Linux

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. There is also a binary version available for Linux, but DMD is not re-distributable and the back-end source code is not available.

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

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 also the official Debian package: "gdc-4.1"

 GDC 0.24 for x86 GNU/Linux (Intel/PC) based on GCC 4.1.2 - Later
 GDB-D 0.0 for x86 GNU/Linux (Intel/PC) based on GDB 6.5, 2.7 MB
 Converted from the RPM above, by using the alien program (on Ubuntu 6.06 LTS)
 GDC 0.24 for PPC GNU/Linux (PowerPC/Mac) based on GCC 4.1.2 - Later
 GDB-D 0.0 for PPC GNU/Linux (PowerPC/Mac) based on GDB 6.5 - Later
 You can create a DEB from the RPM above, by using the alien program to convert...

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 Releases

Download GDC 0.22 for GNU/Linux, based on DMD 1.004 and released on Feb 05 2007:

 GDC 0.22 for x86 GNU/Linux (Intel/PC) based on GCC 4.1.1, 3.1 MB
 This package contains gdc, built for i686-pc-linux-gnu from regular FSF GCC with GDC.
 GDC 0.22 for PPC GNU/Linux (PowerPC/Mac) based on GCC 4.1.1, 3.7 MB
 This package contains gdc, built for powerpc-unknown-linux-gnu from regular FSF GCC with GDC.

Download GDC 0.21 for GNU/Linux, based on DMD 1.00 and released on Jan 02 2007:

 GDC 0.21 for x86 GNU/Linux (Fedora Core 5) based on GCC 4.0.3, 2.6 MB
 This package contains gdc, built for i386-redhat-linux from regular FSF GCC with GDC.
 GDC 0.21 for PPC GNU/Linux (Fedora Core 5) based on GCC 4.0.3, 3.1 MB
 This package contains gdc, built for ppc-redhat-linux from regular FSF GCC with GDC.


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.

Support This Project GNU/Linux packaging of GDC was done by Anders F Björklund <afb@users.sourceforge.net>