Date: Wed, 17 Jan 2001 07:56:37 -0600 (CST) From: Mike Meyer <mwm@mired.org> To: Ertan Kucukoglu <ertank@ozlerplastik.com> Cc: questions@freebsd.org Subject: Re: differences between (buildworld installworld) and (world) Message-ID: <14949.42133.952355.929296@guru.mired.org> In-Reply-To: <4141336@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Ertan Kucukoglu <ertank@ozlerplastik.com> types: > Hello, > > Recently I upgraded my 4.0-RELEASE machine to 4.2-STABLE. First, I did "make > - -j4 buildworld". Then after it finished without error, I did "make -j4 > installworld". After sometime I got error message that says "I cannot find > file ...." > > I choose that way because "make world" installs the system just after > compilation and, I was not sure that my system will compile error proof. > > I thought a little and tried "make world". It finished without any errors. I > upgraded my system, but why I got error with "make buildworld installworld" > and did not with "make world"? > > Is there any differences? I used same parameters for both buildworld and > installworld as mentioned in the handbook. There is only one difference for normal usage: "make world" does the installworld make with parallel builds (what you caused with "-j 4") disabled. That's because the installworld target - as you just discovered - doesn't work with parallel builds. So you should do "make -j 4 buildworld" and "make installworld" if you want to do it in two parts. Of course, if the only reason you're doing that is because you're worried about the build not working - don't bother; make is smart enough not to do the installworld if the buildworld fails. To pick nits, "make world" will build and use a current make on very old (pre 2.2.5) systems, and has hooks to do things pre buildworld and post installworld. None of which will matter during normal usage. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. 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?14949.42133.952355.929296>