Windows devs - how are you building dmd, druntime, phobos?

Seb seb at wilzba.ch
Sat Jul 27 22:54:43 UTC 2019


On Saturday, 27 July 2019 at 21:39:46 UTC, Meta wrote:
> git clone https://github.com/dlang/dmd.git
> cd dmd
> make -fwin64.mak
> (Note you also need to define HOST_DC in your enviroment)
>
> HOWEVER, it failed halfway through building:
>
> std.process.ProcessException at std\process.d(754): Failed to 
> spawn new process (The system cannot find the file specified.)

You need to define DMD too, see e.g. 
https://github.com/dlang/dmd/blob/master/.azure-pipelines/windows.sh#L72

tl;dr:
- Use src/build.d when you want to build locally.
- You can grab a DMD 64-bit executable on Azure:

https://dev.azure.com/dlanguage/dmd/_build?definitionId=1&_a=summary

e.g. 
https://dev.azure.com/dlanguage/dmd/_build/results?buildId=3720


More information about the Digitalmars-d mailing list