Import C under Windows 10

DLearner bmqazwsx123 at gmail.com
Fri Apr 17 09:29:54 UTC 2026


On Thursday, 16 April 2026 at 21:49:40 UTC, DLearner wrote:
> On Thursday, 16 April 2026 at 19:46:48 UTC, Dennis wrote:
>> On Thursday, 16 April 2026 at 19:30:48 UTC, DLearner wrote:
> [...]

Success!

Leaving VS2026 alone, I un- and re-installed DMD.
I can confirm that I am able to compile and run C programs from 
the normal Windows command prompt (as well as the sluggish 
'Developer Powershell').

I do feel that consideration should be given to somehow arranging 
that, for a Windows installation, a mechanism should be provided 
such that DMD's ImportC option works _without_ having to download 
VS (perhaps by incorporating an existing open source 
preprocessor).  The gross bloat and complexity of VS is not DMD's 
fault, but it should not be encouraged.


More information about the Digitalmars-d-learn mailing list