Thanks to all of you for support.
On Sunday, 17 May 2020 at 22:37:14 UTC, Seb wrote:
Alternatively, if you have a working compiler building dub from
scratch isn't hard. You just need to clone the repo and run the
build script (build.bat in your case).
Good luck!
I recompiled latest dub 1.21 from github (which means I was very
likely wrong to call it 1.24), went smooth. Though, it still
gives "access violation" when asking it to add a dependency.
However, I noticed it seems to happily pull down dependencies if
they're in the "dub.selections.json" file, so it's kinda usable
after all, and what's more, I can try to debug the problem.
Anyway I suspect the binary download would have behaved the same
if I only though about trying before.
@rikki cattermole
Dmd and ldc's codegen haven't stood still for 10 years. They
both will be
emitting instructions your cpu cannot handle. Hence crashes.
So... was I wrong to assume it generates code for the cpu it's
running on (a P4 Northwood in my case) by default? I will try the
"-mpcu" command line option then, and see if it takes care of
that crash.
@Jonathan M Davis
I'm pretty sure that Phobos (and possibly druntime) use Windows
API calls that
do not exist on XP and have done so for years now. You might
get lucky and get
some stuff to work on XP, but not everything will work.
Very likely indeed. I hope I'll somehow be able to work around
this issue, at least in some cases.