[Bug c/12128] New: GCOV doesn't find "*.bb" files when .C and .o files in different folders
yuri at tsoft dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 2 04:48:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12128
Summary: GCOV doesn't find "*.bb" files when .C and .o files in
different folders
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuri at tsoft dot com
CC: gcc-bugs at gcc dot gnu dot org
In the project several C++ .C files are in
one folder, object modules are in the other one.
When application runs it creates all files in the
directory where sources are.
When "gcov -l <file.C> -o <obj-dir>" is run from
directory where sources are gcov says:
"Can not open file <obj-dir>/file.bb".
So it's a disconnect.
If I run "gcov -l <file.C> -o <obj-dir> -o ." it coredumps.
I meant to add current directory (where sources are) to
object path.
Yuri
More information about the Gcc-bugs
mailing list