Import C under Windows 10

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Apr 17 11:03:12 UTC 2026


On 17/04/2026 9:29 PM, DLearner wrote:
> 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.

A long time ago I managed to hack clang via mingw to work as the 
preprocessor for dmd on Windows.

No work has progressed on this front since I last tried it ages ago.

But ultimately system toolchains are special things for native 
development. You're stuck with the official one and for Windows you get 
it via VS, regardless of how much you or I dislike it.



More information about the Digitalmars-d-learn mailing list