This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12136] New: GCOV doesn't find "*.bb" files when .C and .o files in different folders
- From: "yuri at tsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2003 17:39:26 -0000
- Subject: [Bug c/12136] New: GCOV doesn't find "*.bb" files when .C and .o files in different folders
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12136
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