From owner-freebsd-questions Mon Dec 22 22:29:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA10301 for questions-outgoing; Mon, 22 Dec 1997 22:29:51 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (cisco-ts7-line16.uoregon.edu [128.223.150.63]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA10296 for ; Mon, 22 Dec 1997 22:29:48 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id WAA07937; Mon, 22 Dec 1997 22:29:39 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 22 Dec 1997 22:29:39 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: MetcalJM@utrc.utc.com cc: questions@FreeBSD.ORG Subject: Re: Q: Need to fix permissions on my system, and build statically lin ked tar. In-Reply-To: <95A2D2968BD9D011A38B00A0C95727DB27ABB8@express2.res.utc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 16 Dec 1997 MetcalJM@utrc.utc.com wrote: > Hello, > > I have two questions: > > 1. I understand that 'make world' builds my entire system from the > source > tree. In the process, it obviously sets the file modes on everything > it builds. Is there a way I can run a portion of 'make world' that > would > just change all the file modes of every file it would normally build, > without having to fully recompile the system? Use the mtree utility and the profiles in /etc/mtree. > 2. I would like to build a statically linked, stand alone version of > /usr/bin/tar with full functionality. You know, like the executables > you find in /stand. I have the full 2.2.2-RELEASE source files, and > a complete system. Can I just set LDFLAGS="some set of flags for ld" > in tar's Makefile to do this? If so, what might that set be? > If not, what else should I do? I believe there is one in /bin. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major