From 4df263334fddf3b0a802474f7c12669dc58dd83e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 13 Apr 2011 03:15:41 +0000 Subject: Update General Compilation Instructions git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9495 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/generalinstructions.xml | 65 +++++++++++++++++++++++---------------- 1 file changed, 39 insertions(+), 26 deletions(-) (limited to 'chapter05/generalinstructions.xml') diff --git a/chapter05/generalinstructions.xml b/chapter05/generalinstructions.xml index 79f29b709..58f32c45e 100644 --- a/chapter05/generalinstructions.xml +++ b/chapter05/generalinstructions.xml @@ -33,13 +33,6 @@ deprecated, but not invalid, use of the C or C++ syntax. C standards change fairly often, and some packages still use the older standard. This is not a problem, but does prompt the warning. - - - After installing each package, delete its source and build - directories, unless specifically instructed otherwise. Deleting the - sources prevents mis-configuration when the same package is reinstalled - later. - @@ -63,28 +56,48 @@ - Before issuing the build instructions for a package, the package - should be unpacked as user lfs, - and a cd into the created directory should be - performed. + To re-emphasize the build process: + + + + Place all the sources and patches in a directory that will be + accessible from the chroot environment such as + /mnt/lfs/sources/. Do + not put sources in + /mnt/lfs/tools/. + + + Change to the sources directory. + + + For each package: + + + Using the tar program, extract the package + to be built. In Chapter 5, ensure you are the lfs + user when extracting the package. + + + Change to the directory created when the package was + extracted. + + + Follow the book's instructions for building the package. + + + Change back to the sources directory. + + + Delete the extracted source directory and any + <package>-build + directories that were created in the build process unless instructed otherwise. + + + + - To re-emphasize the build process: - - -1. Place all the sources and patches in a directory that will be accessible - from the chroot environment such as /mnt/lfs/sources/. Do not put - sources in /mnt/lfs/tools/. -2. Change to the sources directory. -3. For each package: - a. Using the tar program, extract the package to be built. - b. Change to the directory created when the package was extracted. - c. Follow the book's instructions for building the package. - d. Change back to the sources directory. - e. Delete the extracted source directory and any <package>-build - directories that were created in the build process. - -- cgit v1.2.3-54-g00ecf