public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcov-kernel patch
@ 2006-06-02 23:53 McLendon, Rodney
  0 siblings, 0 replies; only message in thread
From: McLendon, Rodney @ 2006-06-02 23:53 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to use the gcov-kernel patch that allows for the relocation of the source based on the environmental variables GCOV_PREFIX and GCOV_PREFIX_STRIP.  The problem that I am having is that the environmental variables don't seem to have any effect in relocating the source when processing or generating the .gcda files.  The following sort of depicts my configuration:

Sys A: cross-compiled source in path /home/user/tmp/work/linux-2.6.16/... for
       Sys B, producing .gcno files

Sys B: generates the .gcda files (I set GCOV_PREFIX_STRIP=4 here but had no
       effect)

Sys C: (inside /somedir which contains linux-2.6.16, a directory that now
       contains the source as well as both .gcno and .gcda files) executed
       'lcov -c -o somefile.info -d linux-2.6.16' here and produced an error
       that indicated it could not find my source in 
       /home/user/tmp/linux-2.6.16/... although once again I set
       GCOV_PREFIX_STRIP=4.

On which system should the environmental variable(s) be set/used?

Thanks,
Rodney


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-02 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 23:53 gcov-kernel patch McLendon, Rodney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).