gcc 4.5.2 or DragonEgg for GDC?

dsimcha dsimcha at yahoo.com
Thu Mar 24 10:11:08 PDT 2011


== Quote from Jason E. Aten (j.e.aten at gmail.com)'s article
> On Thu, 24 Mar 2011 16:31:14 +0000, dsimcha wrote:
> > == Quote from Jason E. Aten (j.e.aten at gmail.com)'s article
> >> Has anyone ported GDC over to gcc 4.5.2 by chance? Or even better,
> >> already gotten GDC to work with DragonEgg (the LLVM plugin).
> >> I know about LDC2 of course, but DragonEgg would obviate the need for
> >> it because DragonEgg makes LLVM codegen a plugin to the GCC framework.
> >> If not I may try to get this going myself.  Any guidance?  All
> >> suggestions welcome.
> >
> > GDC already works (somewhat) with 4.5.2.  You need to compile it from
> > source, though.  On Linux, this isn't hard.  However, 4.5.2 is generally
> > more buggy than 4.4.5.  (These are the two versions I test and report
> > bugs on somewhat frequently.)
> That good news.  I didn't realize that 4.5.2 was so buggy.  How bad is it
> -- are there alot of showstoppers, or are the bugs easy to workaround?

Clarification:  The bugs are in GDC, not the underlying GCC.  I don't remember the
details but the big one is that a bunch of Phobos templates crash the compiler in
64 mode with 4.5.2.


More information about the D.gnu mailing list