From owner-freebsd-bugs Mon May 15 14:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7417F37B8C1 for ; Mon, 15 May 2000 14:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA93256; Mon, 15 May 2000 14:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 092CA37B8A3 for ; Mon, 15 May 2000 14:47:41 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 15 May 2000 22:47:37 +0100 (BST) Message-Id: <200005152247.aa02372@walton.maths.tcd.ie> Date: Mon, 15 May 2000 22:47:37 +0100 (BST) From: dwmalone@maths.tcd.ie Reply-To: dwmalone@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/18574: gcov not installed. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18574 >Category: gnu >Synopsis: gcov is not installed, though the info pages age. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 15 14:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: David Malone >Release: FreeBSD 5.0-CURRENT i386 >Organization: School of Mathematics, Trinity College, Dublin, Ireland. >Environment: 4.0-STABLE or 5.0-CURRENT >Description: 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. >How-To-Repeat: Try to run gcov. >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 % cd .. % patch Index: Makefile =================================================================== RCS file: /cvs/FreeBSD-CVS/src/gnu/usr.bin/cc/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 2000/03/19 23:47:50 1.22 +++ Makefile 2000/05/15 21:25:49 @@ -3,7 +3,7 @@ # The order of some of these are rather important. Some depend on previous # subdirs. -SUBDIR= cc_fbsd cc_tools cc_int cccp cc1 cc +SUBDIR= cc_fbsd cc_tools cc_int cccp cc1 cc gcov .if !defined(NO_CPP) SUBDIR+= cpp >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message