-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I've been trying to get into workin on the actual compiler, but I keep having issues while trying to make it even build to begin with.
There are a few things I would like to point out and discuss so maybe they can get fixed in some near future. I might PR some things as I go by.
-
The build is inconsistent. For example, building on windows (with build.d from
compiler/src
folder) outputs to both debug and release folders ingenerated
folder, while building on Linux withmake -j4
outputs to release only -- even if it's a debug build. -
make -j4
failed to build phobos on my Manjaro installation. I used upstream's dmd 2.111, and it failed to build with errors regarding to some glib C header (while compiling zlib) -
Getting a windows debug build reliably is a hussle, I don't remember now if installing gnu make helps, but I wish we didn't need that at all (especially since we can just run .d code and have a very easy way to build things)
-
dub build for druntime fails on windows. It should either be fixed, either removed if not intended to be supported. Same goes for phobos, btw.
So currently, I struggle to get a debug build of dmd on my Windows machine. Any input would be appreciated!