title: GCOV: What is the difference between --coverage and --ftest-coverage when building with GCC?
body: <p>Trying to get code coverage up and running, and I'm just reading documentation first. I found a few articles that mention building with the <code>--coverage</code> flag, while others mention the <code>--ftest-coverage</code>.</p>
  
  <p>Both descriptions seem to say they do the same thing, but I'm not certain.</p>
  
  <hr>
  
  <p>Here's two articles:</p>
  
  <ul>
  <li><p><a href="http://bobah.net/d4d/tools/code-coverage-with-gcov" rel="noreferrer">http://bobah.net/d4d/tools/code-coverage-with-gcov</a></p></li>
  <li><p><a href="http://www.osadl.org/Dumping-gcov-data-at-runtime-simple-ex.online-coverage-analysis.0.html" rel="noreferrer">http://www.osadl.org/Dumping-gcov-data-at-runtime-simple-ex.online-coverage-analysis.0.html</a></p></li>
  </ul>
  
  <hr>
  
  <p>What's the difference?</p>