public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc does not create '.bb' files, only '.bbg' files.
@ 2005-11-11 14:40 Charlie Miller
  0 siblings, 0 replies; only message in thread
From: Charlie Miller @ 2005-11-11 14:40 UTC (permalink / raw)
  To: gcc-help

Hi.  When I use gcc with the -fprofile-arcs -ftest-coverage options, it 
creates .bbg files but not .bb files.  gcov still works, but another tool I 
would like to use (lcov: 
http://ltp.sourceforge.net/coverage/lcov.readme.php) requires .bb files.  I 
know this used to work, do I need an older version of gcc?  Relevant 
information included below.  TIA

>gcc -ggdb -fprofile-arcs -ftest-coverage -o test test.c
>ls -l test*
test
test.c
test.bbg
>./test
hi
>gcov test
File `test.c'
Lines executed:75.00% of 4
test.c:creating `test.c.gcov'
>cat test.c.gcov
        -:    0:Source:test.c
        -:    0:Graph:test.bbg
        -:    0:Data:test.da
        -:    1:main(int argc, char *argv[])
        1:    2:{
        1:    3:        if (argc<2)
        1:    4:                printf ("hi\n");
        -:    5:        else
    #####:    6:                printf ("bye\n");
        -:    7:}
        -:    8:

>gcc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada 
--disable-checking --libdir=/usr/lib64 --enable-libgcj --with-slibdir=/lib64 
--with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

only message in thread, other threads:[~2005-11-11 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-11 14:40 gcc does not create '.bb' files, only '.bbg' files Charlie Miller

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).