LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Question About deleting Source Files (http://www.linuxquestions.org/questions/linux-from-scratch-13/question-about-deleting-source-files-19555/)

jbhoo 04-26-2002 05:21 PM

Question About deleting Source Files
 
I,m compiling and installing in chapter 5 and I just wan't to know if im doing this right. If I understand the book fairly correctly I unpack the program in my mnt/lfs/usr/src directory and compile & install from there and then go back and delete the source files & rinse & repeat with the next program?
Does the static linking make some files elsewhere that when you do the real install it reads? the static linking is a little confusing I'm going do some more reading on it. I just don't wan't to go through this whole thing and find out I deleted the wrong files or something. I say the whole thing I mean just chapter 5 because it might take me awhile

lfslinux 04-26-2002 05:36 PM

Re: Question About deleting Source Files
 
Quote:

Originally posted by jbhoo
I,m compiling and installing in chapter 5 and I just wan't to know if im doing this right. If I understand the book fairly correctly I unpack the program in my mnt/lfs/usr/src directory and compile & install from there and then go back and delete the source files & rinse & repeat with the next program?
Does the static linking make some files elsewhere that when you do the real install it reads? the static linking is a little confusing I'm going do some more reading on it. I just don't wan't to go through this whole thing and find out I deleted the wrong files or something. I say the whole thing I mean just chapter 5 because it might take me awhile

Yes remove the directories from $LFS/usr/src that were created when you unpacked a package such as bash-2.05a.tar.bz2

Static linking creates programs that can run without Glibc present. When we chroot into $LFS at the beginning of chapter 6 we don't have Glibc installed yet, but we need some programs to be able to install Glibc. Static linking makes them independant of a Glibc installation. Throughout chapter 6 you will re-install the packages from chapter 5 so they will be dynamically linked against the Glibc version on your LFS system.

I hope it's clear?

jbhoo 04-26-2002 07:36 PM

Thanx that helps!


All times are GMT -5. The time now is 08:51 PM.