title: Using lcov with gcc-8
body: <p>I am trying to determine my testcoverage. To do this I compile my program with a newer version of gcc:</p>
  
  <pre><code>CC=/usr/local/gcc8/bin/gcc  FC=/usr/local/gcc8/bin/gfortran ./configure.sh  -external cmake -d
  </code></pre>
  
  <p>After compiling this with the <code>--coverage</code> option I run my tests and this creates <code>*.gcda</code>, <code>*.gcno</code> and <code>*.o.provides.build</code> files. And if I run something like:</p>
  
  <pre><code>&gt; $ /usr/local/gcc8/bin/gcov slab_dim.f90.gcda                                                                             [±develop ●]
  File '/Local/tmp/fleur/cdn/slab_dim.f90'
  Lines executed:0.00% of 17
  Creating 'slab_dim.f90.gcov'
  </code></pre>
  
  <p>Which shows me, that gcov runs fine. However if I try to run lcov on these results:</p>
  
  <pre><code>lcov -t "result" -o ex_test.info -c -d CMakeFiles/
  </code></pre>
  
  <p>I get error messages like these for every file:</p>
  
  <pre><code>Processing fleur.dir/hybrid/gen_wavf.F90.gcda
  /Local/tmp/fleur/build.debug/CMakeFiles/fleur.dir/hybrid/gen_wavf.F90.gcno:version 'A82*', prefer '408R'
  /Local/tmp/fleur/build.debug/CMakeFiles/fleur.dir/hybrid/gen_wavf.F90.gcno:no functions found
  geninfo: WARNING: gcov did not create any files for /Local/tmp/fleur/build.debug/CMakeFiles/fleur.dir/hybrid/gen_wavf.F90.gcda!
  </code></pre>
  
  <p>This is the same error message I get when I use the systems standard <code>/usr/bin/gcov</code></p>
  
  <p>This leads me to believe that lcov calls the old gcov rather than the new one. How do I force gcov to use the new version?</p>