Sun Jun 29 11:52:38 2014: Request 96815 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: $(AS) not set correctly
Broken in: (no value)
Severity: Normal
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96815 >
On Sun Jun 29 10:07:33 2014, SISYPHUS wrote:
> Hi,
>
> Trying to build Win32-API-0.77, I hit the following problem.
>
> With perls built using mingw64 (64-bit) port of gcc-4.7.0, the
> generated Makefile's "$(AS)" is set to "as".
> However, for this particular compiler (which is technically a cross-
> compiler) the correct setting is "x86_64-w64-mingw32-as".
>
> It's not clear to me how to correct that setting. Any ideas ?
>
> As a workaround I can create a copy of "x86_64-w64-mingw32-as.exe" and
> call it "as.exe". That gets the job done, but I would prefer to not
> have to do that.
>
> Cheers,
> Rob
Who made your dmake's "startup" directory which has ".mk" files in it like
config.mk local.mk and startup.mk? The AS macro comes from dmake, not from
Win32::API. I've had similar problems with the AS macro being broken on the
Mingw/dmake package that ActivePerl ships and it eventually was fixed in
https://rt.cpan.org/Public/Bug/Display.html?id=89440 . I don't feel this is a
perl module level issue (makefile.pl), but a dmake issue. make macros that are
always defined out of the box should work out of the box without requiring
fixing logic to be copy pasted into every perl module that wants to use that
macro. Fixing dmake will allow $(AS) to work everywhere, not just in Win32::API.