Dear reader,

Since fedora 14 they are a free and open source compiler LDC. D programmer can use too Digital Mars D compiler DMD. In D world they are 2 D version D1 and D2. DMD compiler can compile only in 32 bits, but this the compiler the most used.

DMD version 1

Install DMD v1

you need install DMD v1 form this package:

$ wget http://ftp.digitalmars.com/dmd-1.065-0.i386.rpm
$ su -m -c 'yum localinstall --nogpgcheck dmd-1.065-0.i386.rpm'

Modify dmd.conf

with DMD v1 you can use Tango as standard runtime library, for this you need edit /etc/dmd.conf file as:

[Environment]

DFLAGS= -I/usr/include/d/tango -I/usr/include/d -I/usr/include/d/tango/core/vendor -L-L/usr/lib/libtango-dmd.a -version=Tango -defaultlib=tango-dmd -debuglib=tango-dmd

Install tango-dmd

Take package here:

$ wget http://bioinfornatics.fedorapeople.org/tango-dmd-devel-0.99.9-1.20101109svn5599.fc14.i686.rpm
$ su -m -c 'yum localinstall --nogpgcheck tango-dmd-devel-0.99.9-1.20101109svn5599.fc14.i686.rpm tango-devel'

DMD version 2

Install DMD v2

Take package here:

$ wget http://ftp.digitalmars.com/dmd-2.050-0.i386.rpm
$ su -m -c 'yum localinstall --nogpgcheck dmd-2.050-0.i386.rpm'

Modify dmd.conf

With D2 you can not use Tango for the moment (only in D1) so you need use Phobos, for this edit /etc/dmd.conf as

[Environment]

DFLAGS= -I/usr/include/d/dmd/druntime/import/ -I/usr/include/d/dmd/phobos -I/usr/include/d -L-L/usr/lib/ -version=Phobos

Note

LDC developper and Tango developper works for port to D2 any help has appreciated

Tango

repository: git clone git://supraverse.net/tango.git

irc channel(freenode): #d.tango

LDC

repository: hg clone http://bitbucket.org/prokhin_alexey/ldc2

irc channel(freenode): #ldc

Thanks for all

signed: Bioinfornatics as Jonathan MERCIER