[dmd-internals] DMD now requires a working D compiler to be build

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 10 19:24:38 PDT 2015


"Andrei Alexandrescu"  wrote in message 
news:mdo864$1jbk$1 at digitalmars.com...

> But this is weird - a release being built is required for building, um, 
> itself?
>
> I do understand that idgen is a separate executable but the simple view is 
> that if dmd 2.067 requires dmd being present, the preexisting dmd can't be 
> 2.067.
>
> Or I'm misunderstanding something. The short version is the simpler the 
> bootstrapping the better.

<= 2.067 does not require a host D compiler at all to build.
master requires a host D compiler (but not a very recent one)
Building ddmd requires >= 2.067

So for now, you just need _a_ compiler to build dmd.  If you want to build 
ddmd you will need to upgrade to 2.067.

After the 2.067 release I will start adding ddmd stuff to master, but even 
then you will still be able to build the C++ version of dmd with most old 
versions of dmd2 as host compiler. 



More information about the Digitalmars-d mailing list