[SOLVED] Deleting extracted source directories in Chapter 6.
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Deleting extracted source directories in Chapter 6.
Hello all,
I've been following the instruction given in 5.3: "Delete the extracted source directory unless instructed otherwise." But nowhere in any of the chapter 5 packages did I notice instructions to actually save the extracted directory, and it has me slightly second-guessing whether I missed something.
Chapter 6 up through 6.17 GCC-6.2.0 (which I just finished) gives no instruction to either delete or save the extracted directories. I've been deleting them.
Is there a case, other than moving the API headers into place, where any extracted directory needs to be kept? (Or am I not far enough along, and am asking for a spoiler!) With the work just put into compiling and testing gcc, I'm reluctant to delete that folder despite not coming up with a single good reason to keep it.
The correct way is delete dirs as they are finished in ch5 and 6. It dosn't say to save the dirs in the book.
It is mention here http://www.linuxfromscratch.org/lfs/...tructions.html
in the last important box at the end.
Also the idea of removing dirs is so stale dirs are not reused, As they dont get used a 2nd time in Ch6.
Incidentally, Linux from Scratch is a time-consuming and very picky endeavor, true, but I'm learning lots. (I'm even learning some sed, which I've successfully avoided until now!) And the best part, I'm finding it an enjoyable journey.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.