The latest Strawberry Perl (5.18.1) and Python(x,y) (2.7.5) both come with MingW to compile C code in modules and extensions. One has to come before the other in my system path. That ensures, AFAIK, that cpan and pip would both use only one mingw installation.
However, the versions differ: Strawberry Perl comes with GCC 4.7 while Python(x,y) comes with 4.5. That would make one language's modules binary incompatible with its interpreter.
How can I ensure each language uses the "right" MingW version?