title: How to get the actual command that the Distutils compile() function uses?
body: <p>I have a Distutils setup.py script which uses new_compiler().compile() to compile test programs to make sure certain features (eg. MPI) are available on the system.</p>
  
  <p>My problem is that there is one case where the compile() call results in a compiler error, but compiling the same little test program manually does not. The error is inside a standard header (mpi.h). All my actual source files also include this header but they compile fine! This particular check would be very useful to have, but I need to figure out why it's failing when it shouldn't be.</p>
  
  <p>So my question is, how can I get the actual command used by ccompiler.compile()?</p>