Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 18:38:24 +0200
From:      Benjamin VILLAIN <benjamin.villain@gmail.com>
To:        david.lee.tn@programmer.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: how do I build a single app?
Message-ID:  <CAHx%2BAbxd25jOH=%2BdLQwfK-ew7wemhZ_EGgo07h39%2B7CgBBFEMA@mail.gmail.com>
In-Reply-To: <20130617154216.147010@gmx.com>
References:  <20130617154216.147010@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi David,

The prefered way would be to run a buildworld (make buildworld) which will
build all apps on /usr/src/ except the kernel itself. Then if you modify
any app, the make will only rebuild your modified binary.

Then make installworld will install all the apps at the correct place.

Cheers,

--
Ben


On Mon, Jun 17, 2013 at 5:42 PM, <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
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHx%2BAbxd25jOH=%2BdLQwfK-ew7wemhZ_EGgo07h39%2B7CgBBFEMA>