title: How do I capture all of my compiler's output to a file?
body: <p>I'm building an opensource project from source (CPP) in Linux. This is the order:</p>
  
  <pre><code>$CFLAGS="-g Wall" CXXFLAGS="-g Wall" ../trunk/configure --prefix=/somepath/ --host=i386-pc --target=i386-pc
  $make
  </code></pre>
  
  <p>While compiling I'm getting lot of compiler warnings. I want to start fixing them. My question is how to capture all the compiler output in a file?</p>
  
  <p><code>$make &gt; file</code> is not doing the job. It's just saving the compiler command like <code>g++ -someoptions /asdf/xyz.cpp</code> I want the output of these command executions. </p>