TheOldFellow wrote:

Joel Miller wrote:

Mukesh Kaushal wrote:

1) First of all you should not delete sources n build dirs of packages which u r goin' to use again later.


<snip>

First, please don't top post. See the FAQ on nettiquette if you have more questions. Second, you should always be removing the source and build directories after you are done with them with noted exceptions in the book of binutils and tcl (Note: That's to the best of my memory, if there are other packages then I forget them at this time). The book has specific instructions on when you need to keep around the build and source directories and otherwise assumes that you delete the directories when you are done with them. This is especially important for rebuilding stuff in chapter six that was previously built in chapter five.


Just to add to that. You'll notice that gcc, binutils and glibc (and a few others maybe) build in a seperate directory from the unpacked source. You might then think 'oh! I only need to delete the build directory, 'cos the source is not touched by the build'. BUT TAKE GREAT CARE, you might find that the PATCHES applied in chapter 5 are NOT the same as those in chapter 6.


It really is best to start each build with a clean un-tar, unless the book SPECIFICALLY tells you not to.

Best wishes,
R.

Thank you for the relpy

So your saying to untar the packages again before i rebuid. (second pass)
to be honest the book is kind of unclear.

I deleted both the sources files and the build dir after the install of the packages.
and it sounds like i need the gcc source tar still.


So this is what i have done so far

1) installed binutils pass 1 did not delete till the book said to.
2) installed gcc(pass1) i deleted both the source tar and the build dir.(it didn't say not to)
3) installed other packages and removed per book.
4) im now at the second pass and it didn't untar the gcc package cause I deleted it. but I did have the core and test and g++ package that i untared to start the second pass.


So is my install Fubared now.

so we are clear I have two dir that i made on my LFS partion.
/lfs/tools
/lfs/sources

I have been untaring the packages into the /lfs/tools dir like the book stated
(this is for the temp tools)


then I have been removing any packages along with the source files - like the books said. It didn't mention not to remove gcc source or the build dir nor did it say i need the two other gcc packages "core and g++"

I downloaded and completed the sec ond pass

so am I screwd LOL



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to