Import C under Windows 10
Dennis
dkorpel at gmail.com
Thu Apr 16 19:46:48 UTC 2026
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?
More information about the Digitalmars-d-learn
mailing list