November 06, 2012
Hello all,

This morning I managed a successful build of the latest dev GDC, so I thought I'd give a brief writeup.

Let's assume that the GDC sources are cloned into $SOMEDIR/gdc/dev

    (i) Download gcc-snapshot sources with apt-get source gcc-snapshot.
        I downloaded them into $SOMEDIR/gdc so that the actual source is
        contained in gdc/gcc-snapshot-20121008/

   (ii) cd gcc-snapshot-20121008 and edit debian/rules.patch to comment out
        the line "debian_patches += gcc-d-lang"

  (iii) Run debian/rules clean and debian/rules patch

   (iv) cd ../dev/  (i.e. to GDC source dir) and run
        ./setup-gcc.sh ../gcc-snapshot-20121008

    (v) cd ..; mkdir objdir; cd objdir

   (vi) ../gcc-snapshot-20121008/src/configure --enable-languages=d --disable-multilib --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libquadmath-support --disable-bootstrap --enable-checking=release --prefix=/opt/gdc --disable-nls

       (This is the configure setup I used, others may work:-)


  (vii) make -j4 2>&1 | tee build.log

 (viii) sudo make install

Hooray, hooray, O Frabjous Day and all that. :-D

Best wishes,

    -- Joe