|
From: Peter O. <ob...@li...> - 2010-02-18 19:42:29
|
If you're cross-compiling your kernel and want to run lcov on the build machine, you need to specify the full path to the cross-compiler gcov tool, otherwise lcov will attempt to use the gcov tool of the locally installed gcc package. Example: lcov -c -d /path/to/files --gcov-tool /path/to/ppc_85xx-gcov -o x.info Also note that lcov can do the copying of .gcda files for you if a perl interpreter and the lcov file is available. On the test machine, run: lcov -c --to-package package Copy the package file to the build machine. On the build machine, run: lcov -c --from-package package --gcov-tool ... Regards, Peter Oberparleiter |