in reply to Re^3: Change make/compiler
in thread Activestate Perl 5.20, Change make/compiler

Also appears to be possible to override via http://docs.activestate.com/activeperl/5.20/lib/ActivePerl/Config.html#Windows-overrides
set ACTIVEPERL_CONFIG_CC=cl set ACTIVEPERL_CONFIG_MAKE=nmake ...

Replies are listed 'Best First'.
Re^5: Change make/compiler
by syphilis (Archbishop) on Oct 07, 2015 at 01:40 UTC
    Also appears to be possible to override via http://docs.activestate.com/activeperl/5.20/lib/ActivePerl/Config.html#Windows-overrides

    Looks outdated to me.
    It says "The value of $Config{cc} will be cl by default" but perl -V:cc says "undef" on my ActivePerl-5.20.0.
    There's also the claim that $Config{make} "will be nmake by default", whereas it's actually "dmake".
    And the focus of that documentation is on replacing 'cl' values with 'gcc' ones, instead of the other way round (as per the op's requirements).

    Cheers,
    Rob

      Looks outdated to me ..defaults..

      The info on the defaults is probably outdated, but I doubt the ability to override config using env vars is gone

      update: its still there in ActivePerl-5.20.2.2001-MSWin32-x86-64int-298913

        I doubt the ability to override config using env vars is gone

        Oh yes - that's still there. I just don't know how easy it is to get things set correctly for the switch from 'gcc' to 'cl'. (The switch in the reverse direction used to be trivial - happened automatically.)

        IMO, the jury is out until someone comes along and actually does what the OP wants to do, by overriding the ActivePerl-5.20 defaults.
        *Then* we get to find out how trivial (or otherwise) it is.

        Cheers,
        Rob