> Hi,
> 
> I have a problem with gcc. I want use gcov but i can't compile my programs.
> It generate .gcda file if i use gcc of ports tree.
> 
> $ gcc -Wall -g --coverage -o sample sample.c
> /usr/bin/ld: cannot find -lgcov
> collect2: ld returned 1 exit status

Argh. Turns out we are not building libgcov with gcc 4. This was
overlooked because it's a brand new thing in gcc 4, earlier versions did
not need to link against such a library.

Nothing a bit of Makefile tomfoolery in src/gnu/cc won't fix.

Miod

Reply via email to