Influencing $(AS)
<[email protected]> Mon, 30 Jun 2014 11:45:32 +1000
| Newsgroups | gmane.comp.lang.perl.modules.extutils-makemaker.devel |
|---|---|
| Message-ID | <B2B9D31F7E2B40A2BAA598B3FC0A8ED6@OwnerPC311012> |
Hi, I use the one build of dmake for a variety of perls that have been built with different mingw (gcc) 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 In a nutshell, I just want to extend the process that fixes AR (when necessary) to apply also to AS. Cheers, Rob