NetBSD Problem Report #173

From gnats  Sat Mar 19 11:08:04 1994
Received: from zombie (zombie.ncsc.mil [144.51.15.1]) by sun-lamp.cs.berkeley.edu (8.6.8/8.6.6) with ESMTP id LAA05903 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sat, 19 Mar 1994 11:08:03 -0800
Message-Id: <199403191908.OAA19667@zombie>
Date: Sat, 19 Mar 1994 14:08:10 -0500
From: sjr@zombie.ncsc.mil
Reply-To: sjr@zombie.ncsc.mil
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: Request for enhancement to /usr/src/Makefile
X-Send-Pr-Version: 3.2

>Number:         173
>Category:       misc
>Synopsis:       Request for enhancement to /usr/src/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 11:20:01 +0000 1994
>Closed-Date:    Sun Jun 19 22:59:49 +0000 1994
>Last-Modified:  
>Originator:     Stephen J. Roznowski
>Release:        NetBSD-current
>Organization:
Beyond the Great Beyond
>Environment:

System:	NetBSD xxx 0.9a A3000#2 amiga
Architecture: amiga

>Description:

	I'd like to see the following added to the "make build" target
	of the top-level makefile. Date commands at the top and bottom
	to see how long it takes to compile (or how much time remains
	if the build output has been redirected).

	Additionally, should the C compiler be rebuilt during this
	stage? As I see it, the building should occur in the following
	way:
		1. New includes installed.
		2. New libraries are built using old compiler.
		3. New C compiler built using new libraries.
		4. Everything rebuilt using new includes,
		   libraries, C compiler.

	Where #3 is the new step.

>How-To-Repeat:
>Fix:

*** Makefile.orig	Thu Feb 10 10:56:45 1994
--- Makefile	Sat Mar 19 13:50:04 1994
***************
*** 21,33 ****
--- 21,37 ----
  	(cd share/man && ${MAKE} makedb)

  build:
+ 	@date
  	(cd include && ${MAKE} install)
  	${MAKE} cleandir
  	(cd lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
  	(cd gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
+ 	(cd gnu/usr.bin/gcc2 && ${MAKE} depend && ${MAKE} && ${MAKE} install)
+ 	${MAKE} cleandir
  .if exists(kerberosIV)
  	(cd kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
  .endif
  	${MAKE} depend && ${MAKE} && ${MAKE} install
+ 	@date

  .include <bsd.subdir.mk>


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Sun Jun 19 15:59:49 PDT 1994 
State-Changed-Why:  
(1) the c compiler should not be built by 'make build' 
(some, including I, would say that you shouldn't use make build 
to rebuild your system...) 
(2) if you want to see how long your compile took, use 'time'. 
(3) if you want to see when your compile started, us 'ps'. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.