LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Deleting extracted source directories in Chapter 6. (https://www.linuxquestions.org/questions/linux-from-scratch-13/deleting-extracted-source-directories-in-chapter-6-a-4175595736/)

dlb101010 12-19-2016 11:42 AM

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.

Thanks,
Dave

spiky0011 12-19-2016 11:46 AM

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.

dlb101010 12-19-2016 12:17 PM

Hey spiky0011,

Thanks for the reassurance. In trying to be really careful following the book, I sometimes read too much into the instructions...

Dave

spiky0011 12-19-2016 12:27 PM

No problem

FYI

Also if you get a make fail more so in blfs it,s best to remove dir and untar again before rebuilding.

dlb101010 12-19-2016 12:49 PM

And thanks for the FYI. I need 'em.

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.


All times are GMT -5. The time now is 12:44 PM.