dmd host compiler

user6789 user6789 at booteacht.az
Fri Jul 5 19:19:19 UTC 2019


On Friday, 5 July 2019 at 18:56:50 UTC, Jonathan Marler wrote:
> On Friday, 5 July 2019 at 17:36:36 UTC, Jonathan Marler wrote:
>> On Friday, 5 July 2019 at 17:11:37 UTC, Patrick Schluter wrote:
>>> [...]
>>
>> Another option would be to use 2.074 to compile 2.075, then 
>> use that to compile 2.076, and so on...of course using the 
>> release versions is arbitrary, and may not be granular enough 
>> and will likely be too granular in most cases.
>>
>> One really cool thing about D though is that now DMD is 
>> completely in D, if you compile it with the `build.d` script 
>> it only takes about 20 seconds to compile the whole thing.  
>> The Makefile still takes longer because it's using many 
>> invocations of the compiler though.
>
> Wait I remembered wrong.  The Makefile takes about 20 seconds 
> to build.  The `build.d` script takes about 7 seconds to build.
>  Just confirmed it on my machine.

The firs time, otherwise it takes more 2 to 3 seconds because 
most of the times the objects are cached.


More information about the Digitalmars-d mailing list