A new and exciting way in which DMD fails to build for me

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 20 14:15:43 PST 2015


On Tuesday, 20 January 2015 at 22:03:27 UTC, Meta wrote:
> On Tuesday, 20 January 2015 at 21:57:56 UTC, Meta wrote:
>> The only things in my path when I run make are:
>>
>> C:\D\dmd2\windows\bin
>> C:\Program Files (x86)\Git\cmd
>> C:\D\dm\bin
>>
>> Also, when I open a new shell window and type "where 
>> idgen.exe", it points to the one in the DMD folder. I'll try 
>> editing the makefile, however, and see if that works.
>
> And of course that did fix it. Where in the world would it be 
> finding another idgen.exe?

Never mind, there actually *is* another idgen in my path, even 
when it only includes the aforementioned locations. A rogue 
idgen.exe somehow snuck into the D:\dmd2\windows\bin folder, 
probably because the guide on the wiki suggests to do `copy *.exe 
<bin folder>`, and idgen gets copied along with a newly built 
DMD. It'll work fine the first time, but will fail all subsequent 
times. That's pretty evil, actually. That should be changed on 
the wiki, and maybe I'll make a PR for the makefile so it will 
use the local idgen.


More information about the Digitalmars-d mailing list