title: G++ Compilation Statistics
body: <p>I was wondering if there is any way to gather statistics from GCC/G++ compilation process. Metrics like the number of lines compiled in the entire process, total time spent compiling, number of errors/warnings, number/size of compiled objects and so on.</p>
  <p>I would like to make a script ( maybe in python ) to generate statistical information in a daily, weekly and monthly basis.</p>
  <p>Any ideas?</p>
  <p>Thanks</p>