This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12136] New: GCOV doesn't find "*.bb" files when .C and .o files in different folders


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]