Linux from Scratch Version 6.2

Linux from Scratch Version 6.2

Linux From Scratch Version 6.2 Gerard Beekmans Linux From Scratch: Version 6.2 by Gerard Beekmans Copyright © 1999–2006 Gerard Beekmans Copyright (c) 1999–2006, Gerard Beekmans All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: • Redistributions in any form must retain the above copyright notice, this list of conditions and the following disclaimer • Neither the name of “Linux From Scratch” nor the names of its contributors may be used to endorse or promote products derived from this material without specific prior written permission • Any material derived from Linux From Scratch must contain a reference to the “Linux From Scratch” project THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Linux From Scratch - Version 6.2 Table of Contents Preface ........................................................................................................................................................... vii 1. Foreword ............................................................................................................................................. vii 2. Audience ............................................................................................................................................ viii 3. Prerequisites .......................................................................................................................................... x 4. Host System Requirements .................................................................................................................. xi 5. Typography ........................................................................................................................................ xiii 6. Structure ............................................................................................................................................. xiv 7. Errata ................................................................................................................................................... xv I. Introduction ................................................................................................................................................. 1 1. Introduction ........................................................................................................................................... 2 1.1. How to Build an LFS System ...................................................................................................... 2 1.2. Resources ..................................................................................................................................... 3 1.3. Help .............................................................................................................................................. 4 II. Preparing for the Build ............................................................................................................................... 7 2. Preparing a New Partition ..................................................................................................................... 8 2.1. Introduction .................................................................................................................................. 8 2.2. Creating a New Partition .............................................................................................................. 9 2.3. Creating a File System on the Partition ..................................................................................... 10 2.4. Mounting the New Partition ....................................................................................................... 11 3. Packages and Patches .......................................................................................................................... 12 3.1. Introduction ................................................................................................................................ 12 3.2. All Packages ............................................................................................................................... 13 3.3. Needed Patches .......................................................................................................................... 20 4. Final Preparations ............................................................................................................................... 24 4.1. About $LFS ................................................................................................................................ 24 4.2. Creating the $LFS/tools Directory ............................................................................................. 25 4.3. Adding the LFS User ................................................................................................................. 26 4.4. Setting Up the Environment ....................................................................................................... 27 4.5. About SBUs ............................................................................................................................... 29 4.6. About the Test Suites ................................................................................................................. 30 5. Constructing a Temporary System ...................................................................................................... 31 5.1. Introduction ................................................................................................................................ 31 5.2. Toolchain Technical Notes ........................................................................................................ 32 5.3. Binutils-2.16.1 - Pass 1 .............................................................................................................. 34 5.4. GCC-4.0.3 - Pass 1 ..................................................................................................................... 36 5.5. Linux-Libc-Headers-2.6.12.0 ..................................................................................................... 38 5.6. Glibc-2.3.6 ................................................................................................................................. 39 5.7. Adjusting the Toolchain ............................................................................................................. 42 5.8. Tcl-8.4.13 ................................................................................................................................... 44 5.9. Expect-5.43.0 ............................................................................................................................. 46 5.10. DejaGNU-1.4.4 ........................................................................................................................ 48 5.11. GCC-4.0.3 - Pass 2 ................................................................................................................... 49 5.12. Binutils-2.16.1 - Pass 2 ............................................................................................................ 52 5.13. Ncurses-5.5 .............................................................................................................................. 53 iii Linux From Scratch - Version 6.2 5.14. Bash-3.1 ................................................................................................................................... 54 5.15. Bzip2-1.0.3 ............................................................................................................................... 55 5.16. Coreutils-5.96 ........................................................................................................................... 56 5.17. Diffutils-2.8.1 ........................................................................................................................... 57 5.18. Findutils-4.2.27 ........................................................................................................................ 58 5.19. Gawk-3.1.5 ............................................................................................................................... 59 5.20. Gettext-0.14.5 .......................................................................................................................... 60 5.21. Grep-2.5.1a .............................................................................................................................. 61 5.22. Gzip-1.3.5 ................................................................................................................................ 62 5.23. M4-1.4.4 ..................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    276 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us