Iain Buclaw wrote:
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.

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.

I uploaded the packages to SourceForge, if anyone else
wants to try them... It's made for Fedora 14 (x86_64):

http://sourceforge.net/projects/gdcgnu/files/gdc/8ac6cb4f40aa/

gcc-d-4.5.1-4.fc14.x86_64.rpm (5.2M) # gdc
phobos-devel-4.5.1-4.fc14.x86_64.rpm (764K)

gcc-4.5.1-4.fc14.diff (3901 bytes, the specfile changes)
gcc-4.5.1-4.fc14.src.rpm (54M, but 5G+ / hours to build)

As noted earlier, LDC and Tango was already part of the
system release and are available in the yum repositories:

https://fedoraproject.org/wiki/Features/D_Programming

ldc-0.9.2-25.20101114hg1698.fc14.x86_64.rpm (4.1M)
tango-devel-0.99.9-19.20100826svn5543.fc14.x86_64.rpm (2.2M)

And then it's just a matter of running "gdmd" or "ldmd",
but if you want to use D2 you should still install "dmd":

http://www.digitalmars.com/d/2.0/changelog.html

http://ftp.digitalmars.com/dmd-2.050-0.i386.rpm

  ****

The GDC RPMs need to be built for i686, updated to 4.5.1-6 -
and adopted for inclusion in Rawhide, upgraded to GCC 4.6...

Most likely the imports should be moved to "include/d/4.5"
and libgphobos.a moved to inside "lib/gcc" directory, too ?

But that's up to Fedora packagers.

--anders

Reply via email to