3/1/2007
Playing with D
I installed the Digital Mars D compiler and ran into a problem initially, but it was easy to fix, though it seems that the installation doc should be beefed up a bit.
~/dmd/samples/d$ dmd hello.d object.d: module object cannot read file 'object.d' ~/dmd/samples/d$ sudo vim /etc/dmd.conf ... ~/dmd/samples/d$ cat /etc/dmd.conf [Environment] DFLAGS=-I%@P%/../src/phobos -I/home/marc/dmd/src/phobos -L-L%@P%/../lib ~/dmd/samples/d$ dmd hello.d gcc hello.o -o hello -m32 -lphobos -lpthread -lm -Xlinker -L/etc/../lib
Not too bad. Next up, I’ll play with gdc, another compiler for the D language.
Del.icio.us
Digg
Reddit
Technorati
Possibly related posts
Comments
Leave a reply



[...] few weeks ago, I messed around with dmd (the original compiler for the D programming [...]