Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, 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 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites ...................................................................................................................................................... xv vii. Host System Requirements ............................................................................................................................. xv 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 ............................................................................................................... 2 1.3. Changelog ................................................................................................................................................... 4 1.4. Resources .................................................................................................................................................... 7 1.5. Help ............................................................................................................................................................. 8 II. Preparing for the Build ........................................................................................................................................... 10 2. Preparing a New Partition ................................................................................................................................. 11 2.1. Introduction ............................................................................................................................................... 11 2.2. Creating a New Partition .......................................................................................................................... 11 2.3. Creating a File System on the Partition ................................................................................................... 12 2.4. Setting The $LFS Variable ....................................................................................................................... 13 2.5. Mounting the New Partition ..................................................................................................................... 13 3. Packages and Patches ........................................................................................................................................ 15 3.1. Introduction ............................................................................................................................................... 15 3.2. All Packages ............................................................................................................................................. 15 3.3. Needed Patches ......................................................................................................................................... 22 4. Final Preparations .............................................................................................................................................. 24 4.1. Introduction ............................................................................................................................................... 24 4.2. Creating the $LFS/tools Directory ........................................................................................................... 24 4.3. Adding the LFS User ............................................................................................................................... 24 4.4. Setting Up the Environment ..................................................................................................................... 25 4.5. About SBUs .............................................................................................................................................. 26 4.6. About the Test Suites ............................................................................................................................... 27 5. Constructing a Temporary System .................................................................................................................... 29 5.1. Introduction ............................................................................................................................................... 29 5.2. Toolchain Technical Notes ....................................................................................................................... 29 5.3. General Compilation Instructions ............................................................................................................. 31 5.4. Binutils-2.25.1 - Pass 1 ............................................................................................................................ 32 5.5. GCC-5.2.0 - Pass 1 ................................................................................................................................... 34 5.6. Linux-4.2 API Headers ............................................................................................................................. 37 5.7. Glibc-2.22 ................................................................................................................................................. 38 5.8. Libstdc++-5.2.0 ......................................................................................................................................... 41 iii Linux From Scratch - Version 7.8-systemd 5.9. Binutils-2.25.1 - Pass 2 ............................................................................................................................ 43 5.10. GCC-5.2.0 - Pass 2 ................................................................................................................................. 45 5.11. Tcl-core-8.6.4 .......................................................................................................................................... 48 5.12. Expect-5.45 ............................................................................................................................................. 50 5.13. DejaGNU-1.5.3 ....................................................................................................................................... 52 5.14. Check-0.10.0 ........................................................................................................................................... 53 5.15. Ncurses-6.0 .............................................................................................................................................. 54 5.16. Bash-4.3.30 ............................................................................................................................................. 55 5.17. Bzip2-1.0.6 .............................................................................................................................................. 56 5.18. Coreutils-8.24 .......................................................................................................................................... 57 5.19. Diffutils-3.3 ............................................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages289 Page
-
File Size-