Getting myself a D compiler

I finally compiled myself gdc, a d frontend for gcc. Surprisingly it was very simple.

I basically had to unpack the gcc tarball, cd into gcc-4.0.3/gcc/ and unpack the gdc tarball which created a d sub directory. Then cd .. and run ./gcc/d/setup-gcc.sh which basically patched the gcc sources which added the d language.

Then I had to make a build directory, I decided to create /opt/gdc and then cd /opt/gdc. And then simply run (from that directory) /path/gcc-4.0.3/configure –prefix=/opt/gdc –enabled-languages=d,c,c++ followed by make and make install. Easy!

I’m planning to experiment with the d programming language and I will probably do all my concept-projects using this programming language. I’m for example planning to implement a reference implementation of deconf-spec in d. But I guess it depends on the results of the experiments I’m going to do.