Ought there be a %Config setting for the assembler ?

Hmm, perl doesn't use it, so I guess not :/ maybe :)

If you look at Win32-API-0.77\Makefile.PL you'll see it uses $(AS) but it doesn't define it , which probably means it simply defaults to 'as'

You can always arrange for  perl Makefile.PL AS=x86_64-w64-mingw32-as.exe

dmake should also pick it up from %ENV via set AS=x86_64-w64-mingw32-as.exe or via sitecustomize $ENV{AS}='x86_64-w64-mingw32-as.exe';

Or give it to Makefile.PL via $ENV{PERL_MM_OPT} https://metacpan.org/pod/ExtUtils::MakeMaker#PERL_MM_OPT

So no Makefile hacking required, set some %ENV vars as usual :)

I guess whomever built your toolchain chose x86_64-w64-mingw32-as.exe so they can dump all the .exe in the same directory :) choices complicate choices :)


In reply to Re^3: [Win32] Overriding dmake's $(AS) by Anonymous Monk
in thread [Win32] Overriding dmake's $(AS) by syphilis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.