From owner-freebsd-current Sun Mar 23 11:39: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 787EB37B401 for ; Sun, 23 Mar 2003 11:39:07 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A72243F75 for ; Sun, 23 Mar 2003 11:39:06 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2NJd4A7065237; Sun, 23 Mar 2003 12:39:05 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 23 Mar 2003 12:38:24 -0700 (MST) Message-Id: <20030323.123824.67091816.imp@bsdimp.com> To: leimy2k@mac.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: "Just" building the lib part of world From: "M. Warner Losh" In-Reply-To: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> References: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <801E9942-5D33-11D7-AFCD-0003937E39E0@mac.com> David Leimbach writes: : Or even better would be just building libc. I have been working on my : getpwnam_r assignment... : examining implementations in both Darwin and NetBSD and started trying : to implement some of : this code for FreeBSD... Its not anywhere even near the goal in sight : as I am still learning the : build system. : : Do I always have to build world or can I get away with just making some : subdirectories? If so : what is the best way to do this? : : Rebuilding gcc each time I just want to test out my code is a real drag : :) First off, make -DNOCLEAN for incremental things isn't so bad. Second, after a buildworld/installworld, cd src/lib/libc && make depend && make will do the trick. I've used this several times. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message