Hi,

What follows is a re-hash of a question I asked on the makemaker mailing list a couple of weeks ago (and received no reply):

I use the one build of dmake for a variety of perls (both 32-bit and 64-bit) that have been built with different mingw compilers.

For some of those perls, $(CC) needs to be set to 'gcc', for others it needs to be set to 'x86_64-w64-mingw32-gcc'.
Similarly $(AR) can be either 'ar' or 'x86_64-w64-mingw32-ar' ... and $(AS) either 'as' or 'x86_64-w64-mingw32-as'.

Both $(CC) and $(AR) always get set correctly for the particular perl/compiler. I think this is owing to the influence of ExtUtils::MakeMaker .... right ?

But $(AS) always gets set to 'as'. Could EU::MM be modified to influence this setting ?
Which particular EU::MM module(s) should I be looking at in order to come up with a patch ?

dmake's startup.mk contains the following 2 lines:
AS *:= as
AR *:= ar

Basically, I just want to extend the process that sets $(AR) correctly to apply also to $(AS).

Cheers,
Rob

In reply to [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.