Linux From Scratch Version 20160304-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 20160304-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2016 Gerard Beekmans Copyright © 1999-2016, 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 20160304-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 ..................................................................................................................................................... xiv vii. Host System Requirements ............................................................................................................................. xv viii. Typography .................................................................................................................................................... xix ix. Structure ............................................................................................................................................................ xx x. Errata ................................................................................................................................................................. xxi 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 .................................................................................................................................................. 10 1.5. Help ........................................................................................................................................................... 10 II. Preparing for the Build ........................................................................................................................................... 13 2. Preparing a New Partition ................................................................................................................................. 14 2.1. Introduction ............................................................................................................................................... 14 2.2. Creating a New Partition .......................................................................................................................... 14 2.3. Creating a File System on the Partition ................................................................................................... 15 2.4. Setting The $LFS Variable ....................................................................................................................... 16 2.5. Mounting the New Partition ..................................................................................................................... 16 3. Packages and Patches ........................................................................................................................................ 18 3.1. Introduction ............................................................................................................................................... 18 3.2. All Packages ............................................................................................................................................. 18 3.3. Needed Patches ......................................................................................................................................... 25 4. Final Preparations .............................................................................................................................................. 27 4.1. Introduction ............................................................................................................................................... 27 4.2. Creating the $LFS/tools Directory ........................................................................................................... 27 4.3. Adding the LFS User ............................................................................................................................... 27 4.4. Setting Up the Environment ..................................................................................................................... 28 4.5. About SBUs .............................................................................................................................................. 29 4.6. About the Test Suites ............................................................................................................................... 30 5. Constructing a Temporary System .................................................................................................................... 32 5.1. Introduction ............................................................................................................................................... 32 5.2. Toolchain Technical Notes ....................................................................................................................... 32 5.3. General Compilation Instructions ............................................................................................................. 34 5.4. Binutils-2.26 - Pass 1 ............................................................................................................................... 35 5.5. GCC-5.3.0 - Pass 1 ................................................................................................................................... 37 5.6. Linux-4.4.2 API Headers .......................................................................................................................... 40 5.7. Glibc-2.23 ................................................................................................................................................. 41 5.8. Libstdc++-5.3.0 ......................................................................................................................................... 44 iii Linux From Scratch - Version 20160304-systemd 5.9. Binutils-2.26 - Pass 2 ............................................................................................................................... 46 5.10. GCC-5.3.0 - Pass 2 ................................................................................................................................. 48 5.11. Tcl-core-8.6.4 .......................................................................................................................................... 51 5.12. Expect-5.45 ............................................................................................................................................. 53 5.13. DejaGNU-1.5.3 ....................................................................................................................................... 55 5.14. Check-0.10.0 ........................................................................................................................................... 56 5.15. Ncurses-6.0 .............................................................................................................................................. 57 5.16. Bash-4.3.30 ............................................................................................................................................. 58 5.17. Bzip2-1.0.6 .............................................................................................................................................. 59 5.18. Coreutils-8.25 .......................................................................................................................................... 60 5.19. Diffutils-3.3 ............................................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages294 Page
-
File Size-