cannot find -lgcov


Navani Srivastava <navani.srivastava@...>
 


Hi,

 

I am using Poky-denzil-7.0 and have created SDK for arm1136 architecture.

I am facing problem in using gcov utility. I installed SDK on my server and issued following command-

 

“root@lnux-PC$  /opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/armv6-vfp-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -fprofile-arcs -ftest-coverage test.c

 

But it ended up with following error-

 

“/opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/libexec/armv6-vfp-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.4/ld: cannot find -lgcov

collect2: ld returned 1 exit status”

 

Do gcc-4.6 recipe need any modification related to gcov?

Any help is appreciable…

 

Thanks and Regards

Navani Kamal Srivastava

 


Join {yocto@lists.yoctoproject.org to automatically receive all group messages.