Skip Menu |

This queue is for tickets about the Module-Build-WithXSpp CPAN distribution.

Report information
The Basics
Id: 104319
Status: open
Priority: 0/
Queue: Module-Build-WithXSpp

People
Owner: Nobody in particular
Requestors: preaction [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Cannot override which C++ compiler is used
ExtUtils::CppGuess is guessing wrong, and I'd like to point it in the right direction, but it doesn't seem like I can do that from Module::Build::WithXSpp. Could I make a patch to add the "cc" attribute and pass that to ExtUtils::CppGuess like extra_*_flags are?
On Fri May 08 14:30:00 2015, preaction wrote: Show quoted text
> ExtUtils::CppGuess is guessing wrong, and I'd like to point it in the > right direction, but it doesn't seem like I can do that from > Module::Build::WithXSpp. Could I make a patch to add the "cc" > attribute and pass that to ExtUtils::CppGuess like extra_*_flags are?
It appears that just giving "cc" to ExtUtils::CppGuess isn't enough. The $ENV{CC} must be set for ExtUtils::CBuilder to pick up on the right compiler.
Very belated additional info: EU::CppG also takes a "cc" argument to new now. It's also hopefully more intelligent in detecting the right thing without overrides.