Cross-Compiled Linux From Scratch
Version 1.0.0rc4-Sparc64-Multilib
Jim
Gifford
Ryan
Oliver
Copyright
© 2005–2006 Jim Gifford & Ryan Oliver
Based on LFS, Copyright © 1999–2006 Gerard Beekmans
Table of Contents
Preface
Foreword
Audience
Prerequisites
Typography
Structure
Errata
I. Introduction
1. Introduction
Cross-LFS Acknowledgements
How to Build a CLFS System
Master Changelog
Changelog for Sparc64
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 Sparc64 Multilib
Needed Patches
Additional Patches for Sparc64 Multilib
4. Final Preparations
About $CLFS
Creating the $CLFS/tools Directory
Creating the $CLFS/cross-tools Directory
Adding the CLFS User
Setting Up the Environment
About the Test Suites
III. Make the Cross-Compile Tools
5. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
Build Variables
Build Flags
Linux-Headers-2.6.17.11-08232006
Cross Binutils-2.17
Cross GCC-4.1.1 - Static
Glibc-2.4 32 Bit
Glibc-2.4 64-Bit
GCC-4.1.1 - Cross Compiler Final
IV. Building the Basic Tools
6. Constructing a Temporary System
Introduction
Build Variables
Binutils-2.17
GCC-4.1.1
Ncurses-5.5
Bash-3.1
Bzip2-1.0.3
Coreutils-5.96
Diffutils-2.8.7
Findutils-4.2.27
Gawk-3.1.5
Gettext-0.14.5
Grep-2.5.1a
Gzip-1.3.5
Make-3.81
Patch-2.5.9
Sed-4.1.5
Tar-1.15.1
Texinfo-4.8
To Boot or to Chroot?
7. If You Are Going to Boot
Introduction
Creating Directories
Creating Essential Symlinks
Zlib-1.2.3
E2fsprogs-1.39
Sysvinit-2.86
Module-Init-Tools-3.2.2
Util-linux-2.12r
Udev-096
ELFtoaout-2.3
Creating the passwd, group, and log Files
Linux-2.6.17.11
Silo-1.4.11
Setting Up the Environment
Build Flags
Creating the /etc/fstab File
CLFS-Bootscripts-0.3
Udev Rules-0.1-07062006
Populating /dev
Changing Ownership
Making the Temporary System Bootable
What to do next
8. If You Are Going to Chroot
Introduction
Util-linux-2.12r
Mounting Virtual Kernel File Systems
Entering the Chroot Environment
Changing Ownership
Creating Directories
Creating Essential Symlinks
Build Flags
Creating the passwd, group, and log Files
Mounting Kernel Filesystems
V. Building the CLFS System
9. Constructing Testsuite Tools
Introduction
Tcl-8.4.12
Expect-5.43.0
File-4.17 64 Bit
DejaGNU-1.4.4
Tree-1.5.0
10. Installing Basic System Software
Introduction
Package Management
About Test Suites, Again
Temporary Perl-5.8.8
Linux-Headers-2.6.17.11-08232006
Man-pages-2.33
Glibc-2.4 32 Bit Libraries
Glibc-2.4 64-Bit
Adjusting the Toolchain
Binutils-2.17
GCC-4.1.1
Coreutils-5.96
Iana-Etc-2.10
M4-1.4.4
Bison-2.3
Ncurses-5.5 32 Bit Libraries
Ncurses-5.5 64 Bit
Procps-3.2.6 32 Bit Libraries
Procps-3.2.6 64 Bit
Sed-4.1.5
Libtool-1.5.22 32 Bit Libraries
Libtool-1.5.22 64 Bit
Perl-5.8.8 32 Bit Libraries
Perl-5.8.8 64 Bit
Readline-5.1 32 Bit Libraries
Readline-5.1 64 Bit
Zlib-1.2.3 32 Bit Libraries
Zlib-1.2.3 64 Bit
Autoconf-2.59
Automake-1.9.6
Bash-3.1
Bzip2-1.0.3 32 Bit Libraries
Bzip2-1.0.3 64 Bit
Diffutils-2.8.7
E2fsprogs-1.39 32 Bit Libraries
E2fsprogs-1.39 64 Bit
File-4.17 32 Bit Libraries
File-4.17 64 Bit
Findutils-4.2.27
Flex-2.5.33 32 Bit Libraries
Flex-2.5.33 64 Bit
Gawk-3.1.5
Gettext-0.14.5 32 Bit Libraries
Gettext-0.14.5 64 Bit
Grep-2.5.1a
Groff-1.19.2
Gzip-1.3.5
Inetutils-1.4.2
IPRoute2-2.6.16-060323
Kbd-1.12
Less-394
Make-3.81
Man-1.6d
Mktemp-1.5
Module-Init-Tools-3.2.2
Patch-2.5.9
Psmisc-22.2
Shadow-4.0.16 32 Bit Libraries
Shadow-4.0.16 64 Bit
Sysklogd-1.4.1
Sysvinit-2.86
Tar-1.15.1
Texinfo-4.8
Udev-096
Util-linux-2.12r
Vim-7.0
ELFtoaout-2.3
Silo-1.4.11
About Debugging Symbols
Stripping
11. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-0.3
Udev Rules-0.1-07062006
How Do These Bootscripts Work?
Device and Module Handling on a CLFS System
Configuring the setclock Script
Configuring the Linux Console
Configuring the sysklogd script
Creating the /etc/inputrc File
The Bash Shell Startup Files
Configuring the localnet Script
Customizing the /etc/hosts File
Creating custom symlinks to devices
Configuring the network Script
12. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.17.11
Making the CLFS System Bootable
13. The End
The End
Get Counted
Rebooting the System
What Now?
VI. Appendices
A. Acronyms and Terms
B. Acknowledgments
C. Dependencies
D. Sparc Dependencies
Index