On Wed, Mar 26, 2008 at 7:38 PM, Randy McMurchy <[EMAIL PROTECTED]> wrote: > > First of all, thanks to Dan for the cluebat about how gcc bootstraps > by default now. I didn't know that. Perhaps it could be mentioned.
I was thinking that if you're reading the book for the first time, then having a conversation about why you're not running "make bootstrap" would be out of place. But there are probably enough old timers reading the book that they have the context where not seeing "make bootstrap" is odd. I could go either way. > However, I've noted the following commands (they've probably always > been there, just never bothered to noticed) in the Linux Headers > installation (both Chapter 5 and 6): > > make mrproper > make headers_check > make INSTALL_HDR_PATH=dest headers_install > > Throughout the boot, every command is described in detail as to what > it does. None of these 3 commands is even mentioned as to what it > does (both Chapters 5 and 6). > > For instance, I've been following LFS for a long time, but this is > the first time I've seen the INSTALL_HDR_PATH=dest in the book. I > don't have a clue what it does, and still don't after doing it. Just > have to blindly follow along, without any knowledge of what I just > did. Granted it should be a given that the API headers are being > installed, but folks should be given a chance to understand the > commands. Yeah, the kernel headers don't install as smoothly as other packages. When you run "make headers_install", it first removes $(INSTALL_HDR_PATH)/include, not what you would want if INSTALL_HDR_PATH=/usr and you have other headers there. That could definitely use an explanation. For "make mrproper", that could probably offloaded with a pointer to Ch. 8.3 where it's explained for the kernel. "make headers_check" is the testsuite, but also encompasses headers_install. I think you can drop it and go straight to "headers_install", but I seem to remember that it does some other important things, too. It's very possible that it could just be treated as the optional testsuite command. I opened ticket #2167 to track this. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
