Building from source on Windows

Andre Pany andre at
Sat Jan 29 09:22:55 UTC 2022

On Friday, 28 January 2022 at 21:39:39 UTC, forkit wrote:
> No matter what instructions, blogs, articles... I use.. I 
> simply cannot manage to build druntime,dmd,phobos, from source 
> on Windows.
> Of course, building from source in linux is a breeze.
> But I cannot test my changes on Windows, cause I cannot build 
> from source on Windows!
> Does anyone have a step-by-step process, that is 'guaranteed' 
> to work? (with as few unnecessary dependencies as possible 
> please).
> I'm happy to build a dedicated build machine for this purpose, 
> with just the software needed to build from source.
> NOTE: I said 'guaranteed' to work ;-)  ... I've wasted to much 
> time following instructions that just do not work.

Not an expert here, I just wonder. As DMD now supports cross 
compilation,the easiest solution would be to provide a Docker 
Image which compiles your local source files.
Therefore you need only the DMD sources and Docker on your 
windows OS, nothing more.

Kind regards

More information about the Digitalmars-d mailing list