| Summary: | gcov is not installed, though the info pages age. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | dwmalone <dwmalone> | ||||
| Component: | gnu | Assignee: | David E. O'Brien <obrien> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 5.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->obrien For someone who knows how the compiler gets built. State Changed From-To: open->closed added |
The gcov program is not compiled or installed. It's a coverage tester which has been part of gcc for some time now. The info pages for gcov are installed as part of the gcc docs. Fix: The following seems to work, but the building of gcc is quite complicated so I can't tell if it is correct. I tested it with a "make obj ; make depend ; make ; make install" in /usr/src/gnu/usr.bin/cc. I'll test it with a make world too, but as I'm not fully clear on the build process it would be better to have someone who understands look at it. % mkdir /usr/src/gnu/usr.bin/cc/gcov % cd /usr/src/gnu/usr.bin/cc/gcov % cat > Makefile # $FreeBSD: $ .include "../Makefile.inc" .PATH: ${GCCDIR} PROG= gcov SRCS= gcov.c NOMAN= 1 CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\" CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\" DPADD+= ${LIBCC_INT} ${LIBCC_FBSD} LDADD+= ${LIBCC_INT} ${LIBCC_FBSD} .include <bsd.prog.mk> % cd .. % patch How-To-Repeat: Try to run gcov.