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

Ethan gooberman at gmail.com
Thu Jul 25 13:23:37 UTC 2019


On Thursday, 25 July 2019 at 13:12:58 UTC, Atila Neves wrote:
> For dmd, neither win32.mak or win64.mak work for me at all. I'm 
> at a loss as to how they work for the autotester. Fortunately I 
> learned about build.d on github, and that works fine.
>
> But then I tried druntime and couldn't build that with the 
> Windows makefile. There's no build.d there though, at least not 
> with that name. The makefile seems to try creating directories 
> more than once and fails.
>
> Given all the above, how is that people on Windows manage to 
> work on the 3 core D repos? I'm trying to fix the situation 
> (mostly so I can get the dmd bash tests to run there), but 
> first I'd like to know if I'm doing something wrong.
>
> Bear in mind I've build all 3 repos repeatedly on Windows 
> before...

I just pulled latest and did my usual "open src/vcbuild/dmd.sln" 
in Visual Studio. Hit compile.

'C:\Program' is not recognized as an internal or external 
command, operable program or batch file.

I think a recent Windows update has ruined how paths are reported 
in Visual Studio. Had to change some definitions in my own stuff 
that's been working for ages too.

Perhaps the makefiles are having the same problem.


More information about the Digitalmars-d mailing list