Iv. LFS and Standards

Iv. LFS and Standards

Linux From Scratch Version 6.6 Created by Gerard Beekmans Edited by Matthew Burgess and Bruce Dubbs Linux From Scratch: Version 6.6 by Created by Gerard Beekmans and Edited by Matthew Burgess and Bruce Dubbs Copyright © 1999-2010 Gerard Beekmans Copyright © 1999-2010, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 6.6 Table of Contents Preface ..................................................................................................................................................................... viii i. Foreword ........................................................................................................................................................ viii ii. Audience ....................................................................................................................................................... viii iii. LFS Target Architectures .............................................................................................................................. ix iv. LFS and Standards ......................................................................................................................................... x v. Rationale for Packages in the Book ............................................................................................................... xi vi. Prerequisites .................................................................................................................................................. xv vii. Host System Requirements ........................................................................................................................ xvi viii. Typography ............................................................................................................................................. xviii ix. Structure ....................................................................................................................................................... xix x. Errata ............................................................................................................................................................. xix I. Introduction ............................................................................................................................................................. 1 1. Introduction ...................................................................................................................................................... 2 1.1. How to Build an LFS System ................................................................................................................ 2 1.2. What's new since the last release ........................................................................................................... 3 1.3. Changelog ............................................................................................................................................... 4 1.4. Resources ................................................................................................................................................ 8 1.5. Help ......................................................................................................................................................... 9 II. Preparing for the Build ....................................................................................................................................... 12 2. Preparing a New Partition ............................................................................................................................. 13 2.1. Introduction ........................................................................................................................................... 13 2.2. Creating a New Partition ...................................................................................................................... 13 2.3. Creating a File System on the Partition ............................................................................................... 14 2.4. Mounting the New Partition ................................................................................................................. 15 3. Packages and Patches .................................................................................................................................... 17 3.1. Introduction ........................................................................................................................................... 17 3.2. All Packages ......................................................................................................................................... 17 3.3. Needed Patches ..................................................................................................................................... 23 4. Final Preparations .......................................................................................................................................... 25 4.1. About $LFS .......................................................................................................................................... 25 4.2. Creating the $LFS/tools Directory ....................................................................................................... 25 4.3. Adding the LFS User ........................................................................................................................... 26 4.4. Setting Up the Environment ................................................................................................................. 26 4.5. About SBUs .......................................................................................................................................... 28 4.6. About the Test Suites ........................................................................................................................... 28 5. Constructing a Temporary System ................................................................................................................ 30 5.1. Introduction ........................................................................................................................................... 30 5.2. Toolchain Technical Notes ................................................................................................................... 30 5.3. General Compilation Instructions ......................................................................................................... 32 5.4. Binutils-2.20 - Pass 1 ........................................................................................................................... 33 5.5. GCC-4.4.3 - Pass 1 ............................................................................................................................... 35 5.6. Linux-2.6.32.8 API Headers ................................................................................................................. 37 5.7. Glibc-2.11.1 .......................................................................................................................................... 38 5.8. Adjusting the Toolchain ....................................................................................................................... 40 5.9. Binutils-2.20 - Pass 2 ........................................................................................................................... 42 iii Linux From Scratch - Version 6.6 5.10. GCC-4.4.3 - Pass 2 ............................................................................................................................. 44 5.11. Tcl-8.5.8 .............................................................................................................................................. 48 5.12. Expect-5.43.0 ...................................................................................................................................... 50 5.13. DejaGNU-1.4.4 ................................................................................................................................... 52 5.14. Ncurses-5.7 ......................................................................................................................................... 53 5.15. Bash-4.1 .............................................................................................................................................. 54 5.16. Bzip2-1.0.5 .......................................................................................................................................... 55 5.17. Coreutils-8.4 ........................................................................................................................................ 56 5.18. Diffutils-2.8.1 ...................................................................................................................................... 57 5.19. Findutils-4.4.2 ..................................................................................................................................... 58 5.20. Gawk-3.1.7 .......................................................................................................................................... 59 5.21. Gettext-0.17 ........................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    318 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