dmd host compiler

Patrick Schluter Patrick.Schluter at bbox.fr
Fri Jul 5 18:17:21 UTC 2019


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:
>> On Friday, 5 July 2019 at 16:36:11 UTC, Martin Krejcirik wrote:
>>> Allright, I managed to compile 2.085 using 2.085 so the real 
>>> queastion is, what is the minimum version requirement for 
>>> host compiler.
>>
>> I Had the same experience on Linux. It was not possible to 
>> build dmd with a predecessing version between version 2.074 
>> and version 2.08?. I had to download a binary of higher 
>> version to build the newer  compiler or else I would have been 
>> stuck on 2.073. It's a rather annoying as we have really 
>> strange rules in place that normally do not allow to install 
>> binaries from Internet.
>
> 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.

That was the issue this process works until 2.78.2 (sorry the 
numbers were off in my first message [1]).
It requires at least 2.79.1 to build anything after 2.78.2 on. 
This means there is a gap in the "build chain".


[1]: 
https://forum.dlang.org/thread/zuehgfyovxxwgebfyokq@forum.dlang.org


More information about the Digitalmars-d mailing list