The Makefile that ExtUtils::MakeMaker creates (and probably Module::Build as well, although I'm less familiar with it) uses whatever the Config module's $Config{cc} says use. This is whatever compiler was used to build your perl executable. You can probably override it with make CC=/usr/local/.../cc on the command line, but keep in mind that there's probably a whole can of monkeys hiding underneath waiting to bite you in the tuckus if the compilers don't play nice together (different link expectations, expecting different symbols to be defined in something like crt0.o, yadda yadda yadda).
In reply to Re: How to make an XS module with a different C compiler?
by Fletch
in thread How to make an XS module with a different C compiler?
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |