Iain Buclaw wrote:

Just announcing (before I nod off) that gdc is working with gcc-4.5.1. Builds D1
and compiles Tango.

Commit:
https://bitbucket.org/goshawk/gdc/changeset/8ac6cb4f40aa

Feedback, patches and bug reports welcome!

Says "This version of GCC () is not supported".
Missing a line for GCC 4.5 it seems, see patch.

Other than that, it seemed to apply cleanly to
Fedora 14's version of GCC (gcc-4.5.1-20100924)

--anders

PS. The "homepage" is still confused about
    how to use prefix and DESTDIR, it seems ?

    It should use --prefix=/opt/gdc, rather
    than --prefix=/usr/local and DESTDIR=/opt
--- gdc/d/setup-gcc.sh.orig     2010-12-17 01:35:16.000000000 +0100
+++ gdc/d/setup-gcc.sh  2010-12-17 10:03:22.553769631 +0100
@@ -56,6 +56,8 @@
     gcc_ver=4.3
 elif grep -q '^4\.4\.' gcc/BASE-VER; then
     gcc_ver=4.4
+elif grep -q '^4\.5\.' gcc/BASE-VER; then
+    gcc_ver=4.5
 fi
 
 gcc_patch_key=${gcc_ver}.x

Reply via email to