On Thursday, 16 April 2026 at 19:30:48 UTC, DLearner wrote:
It's just that cl.exe is less than 1Mb, yet the Visual Studio download to be able to use it is over 10Gb!

Unfortunately, Microsoft doesn't allow redistributing Visual Studio Build Tools.

And one seems to be forced to use the 'Developer Powershell', which is very sluggish compared to the normal terminal window (if you run DMD in the normal terminal window it can't find cl.exe).

DMD has a bunch of logic trying to find the Visual Studio installation path:

https://github.com/dlang/dmd/blob/2a47bdaafa58a90af9d6ce621f561ef9eb0bc5fd/compiler/src/dmd/vsoptions.d#L213

Did you install it in a special way, or modify your registry / environment variables in any way?

  • Import C under W... DLearner via Digitalmars-d-learn
    • Re: Import ... Serg Gini via Digitalmars-d-learn
    • Re: Import ... drug007 via Digitalmars-d-learn
    • Re: Import ... Ferhat Kurtulmuş via Digitalmars-d-learn
      • Re: Imp... drug007 via Digitalmars-d-learn
        • Re:... DLearner via Digitalmars-d-learn
          • ... drug007 via Digitalmars-d-learn
            • ... DLearner via Digitalmars-d-learn
              • ... Dennis via Digitalmars-d-learn
                • ... DLearner via Digitalmars-d-learn
                • ... DLearner via Digitalmars-d-learn
                • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: Import ... Michael Reed via Digitalmars-d-learn

Reply via email to