gdc-4.5 testing

Iain Buclaw ibuclaw at ubuntu.com
Sat Dec 18 03:35:00 PST 2010


== Quote from Anders F Björklund (afb at algonet.se)'s article
> > Iain Buclaw wrote:
> >> 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)
> Not only applied, but also seems to be working... :-)
> Once the enormous build and test completed, that is.
> So now you can install both "ldc" and "gcc-d" (gdc),
> and work with both Tango and Phobos from RPM packages.
> $ cat hello.d
> version (Tango)
> import tango.io.Console;
> else // Phobos
> import std.stdio;
> void main()
> {
>    version (Tango)
>    Cout ("Hello, World!").newline;
>    else // Phobos
>    writefln("Hello, World!");
> }
> $ ldmd hello.d
> $ ./hello
> Hello, World!
> $ gdmd hello.d
> $ ./hello
> Hello, World!

That's certainly nice to hear, considering the number of changes required were
considerably less than what was needed for gcc-4.4 (then again, many of them were
backports from gcc-4.5 anyway ;). Of those changes made, they all turned out to be
pretty quick/lazy edits.

Just preparing an update for 4.5.2 (and a strange segfault when building D2).
After that will begin the usual dstress/testsuite run against it to get an idea of
just how production ready it is.

Regards
Iain


More information about the Digitalmars-d mailing list