Cross-Compiled Linux From Scratch - Sysroot
Version SVN-0.0.1-20090726-x86
Jim
Gifford
Ryan
Oliver
Joe
Ciccone
Copyright
© 2005–2009 Joe Ciccone, Jim Gifford, & Ryan Oliver
Table of Contents
Preface
Foreword
Audience
Prerequisites
Host System Requirements
Typography
Structure
Errata
I. Introduction
1. Introduction
Cross-LFS Acknowledgements
How to Build a CLFS System
Master Changelog
Changelog for x86
Resources
Help
II. Preparing for the Build
2. Preparing a New Partition
Introduction
Creating a New Partition
Creating a File System on the Partition
Mounting the New Partition
3. Packages and Patches
Introduction
All Packages
Additional Packages for x86
Needed Patches
Additional Patches for x86
4. Final Preparations
About ${CLFS}
Adding the CLFS User
Setting Up the Environment
Creating Directories
Creating the passwd, group, and log Files
About the Test Suites
III. Make the Cross-Compile Tools
5. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
Build Variables
Linux-Headers-2.6.30.1
GMP-4.3.1
MPFR-2.4.1
PPL-0.10.2
CLooG-PPL-0.15.3
Cross Binutils-2.19.1
Cross GCC-4.4.1 - Static
EGLIBC-2.10.1
GCC-4.4.1 - Cross Compiler Final
File-5.03 - Native
Groff-1.20.1 - Native
Shadow-4.1.4.2 - Native
Ncurses-5.7 - Native
Creating a Sysroot Wrapper
IV. Building the CLFS System
6. Installing Basic System Software
Introduction
Package Management
Build Variables
Man-pages-3.21
GMP-4.3.1
MPFR-2.4.1
PPL-0.10.2
CLooG-PPL-0.15.3
Zlib-1.2.3
Binutils-2.19.1
GCC-4.4.1
Sed-4.2.1
Ncurses-5.7
Util-linux-ng-2.16
E2fsprogs-1.41.8
Coreutils-7.4
Iana-Etc-2.30
M4-1.4.13
Bison-2.4.1
Procps-3.2.8
Libtool-2.2.6a
Flex-2.5.35
IPRoute2-2.6.29-1
Perl-5.10.0
Readline-6.0
Autoconf-2.63
Automake-1.11
Bash-4.0
Bzip2-1.0.5
Diffutils-2.8.7
File-5.03
Findutils-4.4.2
Gawk-3.1.7
Gettext-0.17
Grep-2.5.4
Groff-1.20.1
Gzip-1.3.12
IPutils-s20071127
Kbd-1.15
Less-429
Make-3.81
Man-1.6f
Module-Init-Tools-3.10
Patch-2.5.9
Psmisc-22.6
Shadow-4.1.4.2
Rsyslog-4.2.0
Sysvinit-2.86
Tar-1.22
Texinfo-4.13a
Udev-145
Vim-7.2
XZ-Utils-4.999.8beta
About Debugging Symbols
Stripping
7. Setting Up System Bootscripts
Introduction
Bootscripts for CLFS 1.2-pre8
How Do These Bootscripts Work?
Configuring the setclock Script
Configuring the Linux Console
Device and Module Handling on a CLFS System
Creating custom symlinks to devices
The Bash Shell Startup Files
Setting Up Locale Information
Creating the /etc/inputrc File
8. Networking Configuration
Configuring the localnet Script
Customizing the /etc/hosts File
Creating the /etc/resolv.conf File
DHCP or Static Networking?
Static Networking Configuration
DHCPCD-5.0.6
DHCP Networking Configuration
9. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.30.1
Changing the Ownership Of The CLFS System
10. The End
The End
Rebooting the System
What Now?
V. Appendices
A. Acronyms and Terms
B. Dependencies
C. x86 Dependencies
D. Open Publication License
Index