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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 20 14:25:08 PST 2015


On Tue, 20 Jan 2015 22:15:43 +0000
Meta via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> 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.
if you'll make a PR, it would be good to change other invocations too:
"optabgen" and "impcnvgen".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150121/16375cad/attachment.sig>


More information about the Digitalmars-d mailing list