gdc-4.5 testing
Anders F Björklund
afb at algonet.se
Sat Dec 18 02:30:17 PST 2010
> 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!
Will rebuild for Rawhide and post packages somewhere,
need to clean up the summaries and description a bit.
But that should make GDC available to Fedora as well,
or at least until they upgrade to GCC 4.6 that is...
* ldc
* tango (missing at the moment)
* tango-devel
* tango-static (missing at the moment)
* gdc
* phobos
* phobos-devel
* phobos-static
Good work!
--anders
More information about the Digitalmars-d
mailing list