Steve Teale wrote:
Anders, There's a bit of a clash between http://gdcwin.sourceforge.net/ and Ubuntu. In the gdcgnu page gdc-4.2 is described as experimental, but in Ubuntu 9 apt-get install gdc will get you 4.2. To get 4.1 you have to be specific - apt-get install gdc-4.1.
Well, it seems that the link isn't even going anywhere anymore: http://packages.debian.org/unstable/gdc-4.2 Possibly it should use some other words, and use the other link: http://packages.ubuntu.com/gdc-4.2 All of my pages could do with some updating, since some things changed since 2008. And some of the links aren't up to speed either, http://d-programming-language.org is getting stale - although it is not yet as badly outdated as http://opend.org/.
The 4.2 version has problems as we have already noted with the nested.nested bug. Should we be telling Ubuntu people specifically install gdc-4.1?
Well, either that or fix the bugs in the GCC 4.2 version... ? :-) But the packages I made used the "FSF" GCC 4.1.2, *not* Ubuntu's. Had some Fedora 9 packages for GCC 4.3.0, but they weren't really working all that good as that compiler release was rather buggy. Presumably you want to go all the way to GCC 4.4, I don't know ? As mentioned, there's some patches for the Apple/LLVM GCC 4.2 too. The Apple GCC (either -4.0 or -4.2) is "based" on the regular GCC, but has some rather significant changes and patches applied to it. The LLVM GCC is in turn based on Apple's GCC, but also compilable in a "llvm-gcc" mode. The MinGW GCC on the other hand is standard. So there's a lot of GCC's, the GNU package used http://gcc.gnu.org/ --anders