Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: [Win32] Overriding dmake's $(AS)

by bulk88 (Priest)
on Jul 13, 2014 at 04:10 UTC ( [id://1093401]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1093401]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found