From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 17 17:58:23 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 03721DC2 for ; Mon, 17 Jun 2013 17:58:23 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id D279D1660 for ; Mon, 17 Jun 2013 17:58:22 +0000 (UTC) Received: from 66-189-39-69.dhcp.oxfr.ma.charter.com ([66.189.39.69] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Uodh6-000IgJ-7C; Mon, 17 Jun 2013 13:58:22 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id BE80020FEC52; Mon, 17 Jun 2013 13:58:19 -0400 (EDT) Message-ID: <51BF4E3B.5020105@FreeBSD.org> Date: Mon, 17 Jun 2013 13:58:19 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: david.lee.tn@programmer.net References: <20130617154216.147010@gmx.com> In-Reply-To: <20130617154216.147010@gmx.com> X-Enigmail-Version: 1.5.1 X-SA-Exim-Connect-IP: 66.189.39.69 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP,URIBL_BLOCKED autolearn=no version=3.3.1 Subject: Re: how do I build a single app? Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 17:58:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/17/13 11:42 AM, david.lee.tn@programmer.net wrote: > Hi, > > I installed FreeBSD into a VirtualBox VM in January and started > playing with the code. I must complement you people on the clarity > of your code. I've enjoyed examining it. > > I wanted to try some code changes to some of the apps in the /bin > directory, but can't figure out how to build a single app, or even > build a single set of apps, like /usr/src/bin, /usr/src/sbin, > /usr/src/usr.bin, or /usr/src/usr.sbin. Is there a way to do this, > or do I just have to create my own Makefiles for each app I am > experimenting on? > > If this is the wrong place to ask this question, I appologize and > ask you to direct me to a mailing list that would be the > appropriate place to ask this. > > Sincerely, > > David Lee from Tennessee Hi David, You can build a single application like so: cd /usr/src/bin/csh && make install Just replace "bin/csh" with the tool you are interested in building, and you should be all set. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG/TjsACgkQ0sRouByUApDFXgCfXsIjl6PkBGei6HwoHvSZ2rg0 /9UAoLthLoGVjgroByhtA054qD8VH3rk =bgQw -----END PGP SIGNATURE-----