[ELDK] ELDK & Coverage Analysis

Albrecht Dreß albrecht.dress at arcor.de
Tue Dec 2 20:44:28 CET 2014


Hi all,

I use ELDK 5.4 for a MPC5200 based board, and would like to run unit tests with a coverage analysis.

I see that powerpc-linux-gcov is included, but building for a coverage analysis results in

powerpc-linux-gcc -g -O -fprofile-arcs -ftest-coverage tests.c -o tests
/opt/eldk-5.4/powerpc/sysroots/i686-eldk-linux/usr/libexec/powerpc-linux/gcc/powerpc-linux/4.7.2/ld: cannot find -lgcov

On my Ubuntu system I can run gcov for the same test app.  Did I miss to install some package from ELDK, or do I have to build the necessary "infrastructure" myself?

Thanks,
Albrecht.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/eldk/attachments/20141202/c31ed6e0/attachment.pgp>


More information about the eldk mailing list