Self-hosting D compiler -- Coming Real Soon Now(tm)

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 23:48:50 PDT 2014


"Andrej Mitrovic via Digitalmars-d"  wrote in message 
news:mailman.704.1410382691.5783.digitalmars-d at puremagic.com...

> If by current you mean git-head, only git-head versions of DMD are
> compatible with git-head versions of druntime and phobos. Meaning it's
> normal that an e.g. 2.066 compiler will not build a Phobos commit
> after the commit tagged v2.066 (it may work for a while, but things
> usually break quick enough either through things like mangling changes
> or accepts-invalid bug fixes, to name a few).

It is not that difficult to make sure the dmd source compiles with both 
dmd+druntime master and with the dmd+druntime from the previous release.

ie The host compiler doesn't have to build master druntime and phobos, it 
just has to use its own druntime to build master dmd.  Phobos is not 
currently use by ddmd, but it would work mostly the same.

If an accepts-invalid bug gets fixed in master that affects ddmd 
compilation, then that code will need to be replaced in master - with new 
code that still compiles with the supported previous release(s). 



More information about the Digitalmars-d mailing list