in reply to Re^6: perl 5.14.0-RC1 is available for testing!
in thread perl 5.14.0-RC1 is available for testing!

Doh, yup , that should be
.IF "$(CCTYPE)" == "GCC" $(XCOPY) $(CCHOME)\bin\*dll ..\t\$(NULL) .ENDIF
I've tested this and it works

I'm tempted to rewrite this using Daiku, but i'm not fluent in make :)

Replies are listed 'Best First'.
Re^8: perl 5.14.0-RC1 is available for testing!
by syphilis (Archbishop) on Apr 25, 2011 at 09:06 UTC
    The more I think about it, the more I like this idea. Asking a user to go digging into his compiler bin directory to find out just which file it is that needs to be copied has always been cringe-inducing. (I'm also wondering if, with some compilers, there's more than just the one dll that needs to be copied ... not sure.) This change should be presented to p5p for further consideration.

    Not sure about the value of the other changes - it's not a lot to ask of a user that he ticks a "yes I'm using gcc-4" box. I guess it's ok so long as the auto-detection of version 4 is always going to work correctly. Feel free to present that idea to p5p as well.

    If you don't want to post to p5p yourself, let us know, and someone else might take it up. (I'd personally be quite happy to present the idea of using your revised xcopy command. But then *you* miss out on all the glory :-)

    Cheers,
    Rob
      Not sure about the value of the other changes - it's not a lot to ask of a user that he ticks a "yes I'm using gcc-4" box. I guess it's ok so long as the auto-detection of version 4 is always going to work correctly. Feel free to present that idea to p5p as well.

      There are no other changes ( unless you want indentmk - dmake makefile indenter ) all GCC4_XXX stuff is deleted, and test-prep is now

      test-prep : all utils ..\pod\perltoc.pod $(XCOPY) $(PERLEXE) ..\t\$(NULL) $(XCOPY) $(PERLDLL) ..\t\$(NULL) .IF "$(CCTYPE)" == "BORLAND" $(XCOPY) $(GLOBBAT) ..\t\$(NULL) .ELSE $(XCOPY) $(GLOBEXE) ..\t\$(NULL) .ENDIF .IF "$(CCTYPE)" == "GCC" # If building with gcc-4.x.x (or x86_64-w64-mingw32-gcc-4.x.x), then # op/taint.t will fail without one+ of these files. $(XCOPY) $(CCHOME)\bin\*dll ..\t\$(NULL) .ENDIF

      note, dmake wants tab prefixes, not spaces :)

      I'd personally be quite happy to present the idea of using your revised xcopy command. But then *you* miss out on all the glory :-)

      Go right ahead, all your glory are belong to Anonymous :)

        There are no other changes

        Oh yeah ... *my* turn to say "Duh".

        Go right ahead, all your glory are belong to Anonymous :)

        Ok ... once 5.14 is out of the way, I'll see what they've got to say.

        Cheers,
        Rob