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

I now prefer this

Could that be modified so that only the dll files get copied ? And would that work just as well ? (Or have I missed something ? I'll give it a try myself when I get a chance.)

Copying the entire bin directory seems a bit heavy-handed to me.

Cheers,
Rob
  • Comment on Re^6: perl 5.14.0-RC1 is available for testing!

Replies are listed 'Best First'.
Re^7: perl 5.14.0-RC1 is available for testing!
by Anonymous Monk on Apr 24, 2011 at 17:13 UTC
    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 :)

      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 :)