What's the simplest way to get a fresh copy of the source code for the system

Robert Huff roberthuff at rcn.com
Mon Feb 23 10:53:23 PST 2009


af300wsm at gmail.com writes:

>  I'ma little unclear about how to build individual programs from
>  within the source tree. Can you please explain how I'd do this?

	Assuming 1) you have the source tree installed, and 2) it and
the kernel are of compatible versions (shouldn't be a problem here):

cd /usr/src/usr.bin/touch
make clean && make && make install && make clean


			Robert Huff





More information about the freebsd-questions mailing list