Building from source on Windows
H. S. Teoh
hsteoh at quickfur.ath.cx
Sun Jan 30 20:33:58 UTC 2022
On Sun, Jan 30, 2022 at 08:20:06PM +0000, forkit via Digitalmars-d wrote:
> What I can say, after a lot of mucking around, and a little help, is
> that building from source on Windows is as easy as it is on linux.
> just git and make. that's it.
> providing all the prerequistes programs/settings are in place of course ;-)
> - an exisiting installation of windows
> - an exisiting installation of visual studio build tools
> - an exisiting installation of dmd
> - an exisiting installation of dmc (which has the 'make' that you'll need)
> - set the correct settings for VCDIR, SDKDIR, and BINDIR in the win64.mak
> files for druntime and phobos (didn't need it for dmd or the tools) to match
> your version of VS.
> then run 'make -f win64.mak' in each of the folders for dmd, druntime,
> phobos, tools... and you're done.
> That's really all there is too it.
This should be incorporated into the wiki page so that the next person
that comes along can benefit from it.
Freedom of speech: the whole world has no right *not* to hear my spouting off!
More information about the Digitalmars-d