LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 04-26-2002, 05:21 PM   #1
jbhoo
LQ Newbie
 
Registered: Apr 2002
Distribution: mandrake 8.2 LFS soon!
Posts: 17

Rep: Reputation: 0
Question 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
 
Old 04-26-2002, 05:36 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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?
 
Old 04-26-2002, 07:36 PM   #3
jbhoo
LQ Newbie
 
Registered: Apr 2002
Distribution: mandrake 8.2 LFS soon!
Posts: 17

Original Poster
Rep: Reputation: 0
Thanx that helps!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting kernel source anandt4u Linux - Software 2 06-02-2005 11:02 AM
Uber-noob question about deleting install files R00ts Linux - Newbie 8 04-01-2004 09:41 AM
Question about deleting files Superdude Linux - Software 8 12-31-2003 09:02 PM
Deleting files Tingle Linux - Newbie 4 01-16-2003 04:19 PM
Deleting Source Files? jbhoo Linux - General 1 07-28-2002 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration