in reply to [Win32] Overriding dmake's $(AS)

http://perl5.git.perl.org/perl.git/blob/HEAD:/win32/makefile.mk has a variable called ARCHPREFIX but it is never saved in Config/Config_heavy. EU::MM would actually be getting the "as" value from Config_heavy.pl if "as" would exist in the future. So its a p5p change which means "as" would become available in the next major release. It isn't really a EUMM change unless EUMM will test perl versions, and if that perl doesn't have "as" in %Config then special case if (/gcc$/ && /^(.+)gcc$/), and add that prefix to the future $(AS).

Replies are listed 'Best First'.
Re^2: [Win32] Overriding dmake's $(AS)
by syphilis (Archbishop) on Jul 13, 2014 at 07:32 UTC
    EU::MM would actually be getting the "as" value from Config_heavy.pl if "as" would exist in the future

    Would EU::MM pick that up automatically ?
    It's easy enough to set 'as' to the correct value ('x86_64-w64-mingw32-as') in Config_heavy.pl, and doing so means that $Config{as} is set to that correct value. However, $(AS) in the Win32::API Makefile is still set to the incorrect value of 'as'.
    Perhaps it just needs 'as' to have been available (in config.gc) when perl was being built ... I haven't tested that out yet.

    In any case, you're correct that the first thing to do is to get 'as' into the next release. I'll request that of p5p soon.

    Cheers,
    Rob