in reply to How to change compiler options used by cpan ?

You *can* change the compiler, linker etc that the toolchain uses, but you almost certainly don't want to, because most changes there will lead to you compiling libraries that aren't compatible with your perl. However, if you do want to, you need to then I think you need to fiddle around in Config.pm.

I presume that the machine that doesn't work has a perl that was built using a compiler that you don't have. The solution is to either acquire that compiler, or to acquire a different compiler and use it to build your own perl. You will then be able to compile XS-ish modules.

  • Comment on Re: How to change compiler options used by cpan ?