title: gcov not showing any coverage data
body: <p>I am trying to use gcov on Linux(Ubuntu) to see frequency of execution for each line of source.</p>
  
  <p>I have added following flags to my gcc compiler and linker flags, </p>
  
  <pre><code>CCFLAGS =  -fprofile-arcs -ftest-coverage
  LDFLAGS = -fprofile-arcs -lgcov
  </code></pre>
  
  <p>but after compiling and running the program, i see no *.gcda file created. As a result of which when i run </p>
  
  <pre><code>gcov  --object-directory &lt;path to the *.gcno/*.gcda files&gt; myfile.cpp 
  </code></pre>
  
  <p>Shows error: </p>
  
  <pre><code>myfile.gcda:cannot open data file, assuming not executed
  File '../../../../../code/myfile.cpp'
  Lines executed:0.00% of 2625
  </code></pre>
  
  <p>Am i missing something. How to fix this?</p>