Date: Sat, 27 May 2000 22:15:31 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Gabriel Ambuehl <gabriel_ambuehl-fbquestions@buz.ch> Cc: freebsd-questions@freebsd.org Subject: Re: How can I rebuild just the parts of the system that have changed? Message-ID: <20000527221531.C59863@strontium.scientia.demon.co.uk> In-Reply-To: <8525685894.20000527195254@buz.ch> References: <8525685894.20000527195254@buz.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Gabriel Ambuehl wrote: > I do quite frequent CVSups with 4.0 STABLE which is working very well > but make buildworld takes way too long for frequent use (K6-2 450), IMHO. There's something wrong if you think they take too long (either with your system or your definition of "too long"). I do buildworlds on a K6-2 350 and it only takes a few hours. Just let it run overnight, you don't have to sit and watch it, you know. OTOH I am right now waiting for a buildworld on a 486 to complete. I hope it will be done by the morning (10pm now, so I'm hoping it will be done by 10am tomorrow) but I'm not counting on it. Yes, I'm quite mad. > there a possibility to just recompile the changed files and the kernel > instead of the complete world? You can, but you've only got yourself to blame if you miss something important then. In particular, when you install the kernel you must rebuild and reinstall libkvm and anything which uses it. (ps, top, vmstat, ...) Just do, e.g., # cd /usr/src/bin/ls # make obj # make clean all install to install /bin/ls, for example. Note that you should *never* run make under /usr/src/contrib, if you want to install something which lives there you will find the Makefiles for that stuff elsewhere, e.g. Perl lives in /usr/src/contrib/perl but to install it you should do # cd /usr/src/gnu/usr.bin/perl --> *not* /usr/src/contrib/perl # make obj # make clean all install But if you didn't know all this already, you probably shouldn't be doing it and should be sticking with make world which handles all the gory details for you. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000527221531.C59863>