* RE: Regarding environment variable GCOV_PREFIX
@ 2012-05-28 13:09 Seenivasan, Hinduja
0 siblings, 0 replies; 2+ messages in thread
From: Seenivasan, Hinduja @ 2012-05-28 13:09 UTC (permalink / raw)
To: gcc-help
Hi,
I have a problem in using GCOV_PREFIX environment variable.
Compiler version that I am using on build machine - gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
I am compiling my source files (*.c) using "fprofile-arcs -ftest-coverage" on system ABC (build machine)
which produces an executable, object files (corresponding to each source file) and gcno file
(corresponding to each source file) in the following location
/tmp/test/gcovrun/result
This location is mounted on to another system XYZ (test machine). On XYZ, when I execute the
executable, the same directory structure (/tmp/test/gcovrun/result) is expected for
creating *.gcda files.
But I do not want to create the same directory structure in my test machine.
I want to create a directory (/tmp/gcovfiles) in my test machine and I want gcda files to be
created in /tmp/gcovfiles location.
I tried using environment variables GCOV_PREFIX and GCOV_PREFIX_STRIP. But it did not have
any effect. May be I am not using it properly.
Could you please help?
Thanks,
Hinduja
^ permalink raw reply [flat|nested] 2+ messages in thread
* Regarding environment variable GCOV_PREFIX
@ 2009-04-16 10:01 vrukesh panse
0 siblings, 0 replies; 2+ messages in thread
From: vrukesh panse @ 2009-04-16 10:01 UTC (permalink / raw)
To: gcc-help
Hi,
We are trying to use arm-linux-gcc 4.2.1.
We compile application with flags "-fprofile-arcs -ftest-coverage".
For the source file at location, /home/user/TestApp/HelloApp/, .gcda
files are generated correctly in the folder
/home/user/TestApp/HelloApp/ on the target.
Setting environment flags GCOV_PREFIX and GCOV_PREFIX_STRIP do not
seem any effect in relocating the .gcda files.
For example, on setting GCOV_PREFIX=/temp/app/ and
GCOV_PREFIX_STRIP=4, there is no change at all.
How to fix this issue ?
Thanks And Regards,
Vrukesh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-28 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 13:09 Regarding environment variable GCOV_PREFIX Seenivasan, Hinduja
-- strict thread matches above, loose matches on Subject: below --
2009-04-16 10:01 vrukesh panse
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).