druntime build failing because of masm386 problems

Andrei Alexandrescu via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 21 18:01:48 PST 2015


On 1/18/15 10:19 PM, Jonathan M Davis via Digitalmars-d-learn wrote:
> On Sunday, January 18, 2015 23:21:43 jollie via Digitalmars-d-learn wrote:
>> Jonathan M Davis via Digitalmars-d-learn <digita
>> lmars-d-learn at puremagic.com> Wrote in message:
>>> It's been a while since I did anything in Windows with D, and unfortunately,
>>> I need to again, and now I can't get druntime to build. I'm getting this
>>> lovely error:
>>>
>>> dmc -c  src\rt\minit.asm
>>> masm386 -DM_I386=1 -D_WIN32 -Mx src\rt\minit.asm;
>>>
>>> Can't run 'masm386', check PATH
>>> Error: 'dmc' not found
>>>
>>>
>>> I know that I've seen this before, but I can't remember how to fix the
>>> problem. dmc is definitely on my PATH (I successfully built dmd prior to
>>> trying to build druntime), so the error seems to be wrong, for whatever good
>>> that does me. I don't see a masm386 with dmc, so I don't know where that
>>> comes from. Maybe that's part of the problem.
>>>
>>> Has anyone seen this problem and figured out how to get around it or fix it?
>>>
>>> - Jonathan M Davis
>>>
>>>
>>
>> It's been some months since I had this problem pop up, but I just
>>   ran touch on the minit.obj file so make thought it was up to date
>>   and used it.
>
> That did the trick. Thanks. It looks like that has to be done after every
> time I run clean. That definitely sucks.
>
> - Jonathan M Davis

Can't we just change win32.mak to consider minit.obj part of the 
distribution? -- Andrei



More information about the Digitalmars-d-learn mailing list