<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 8:35 AM Johannes Pfau via Digitalmars-d-announce <<a href="mailto:digitalmars-d-announce@puremagic.com">digitalmars-d-announce@puremagic.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But this only works as you build gdc and gcc separately. I.e. for gdc, <br>
you build gcc+gdc, then throw away everything but gdc related <br>
executables. Then you compile gcc with different --with-pkgversion for <br>
the gcc package.<br>
<br>
However, this has the problem that your gcc executable now does not <br>
properly forward .d files to gdc as that build did not have --enable-<br>
languages=d. The supported way to do this is build all gcc based <br>
compilers at once. But then you can't use --with-pkgversion as it will <br>
apply to all compilers.<br>
<br>
-- <br>
Johannes<br></blockquote><div><br></div><div>Yes, but I never use gcc to compile .d files (I did not know it will work anyway :) ), so I do not see this as a big issue.</div><div>But I understand it could be an issue for somebody else and it will be an issue when gdc will be officialy part of gcc.</div></div></div>