Auto-bootstrapping builds of LDC with DDMD frontend

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jan 31 20:07:09 PST 2017


On 31 Jan 2017, at 18:39, Matthias Klumpp via digitalmars-d-ldc wrote:
> We need to have one in the first place ^^ - if GDC could compile LDC, 
> we could solve the issue that way.

This is why I asked whether you can't just keep an old version of LDC 
around separately. In a non-distro-packager scenario, it's utterly 
straightforward to have _any_ suitable compiler around, for example by 
just downloading a recent binary release of DMD or LDC.

Of course, in many distros the objective is to root everything in a 
(self-bootstrapped) C compiler binary, but can't you just keep a 
separate package with a C++-based release (0.17.x) around that you can 
then simply build-depends on? We've been keeping DMD/LDC 
backwards-compatible with that for this very reason, that is making 
bootstrapping simple.

  — David


More information about the digitalmars-d-ldc mailing list