Go to file
Xi Ruoyao d6006ef769
relax host system requirements
A requirement on Glibc is not needed at all.  It's enough once
$LFS_TGT-* is runnable.  A test on Alpine (using musl as libc) has
practically proved this.

We'd raised binutils and GCC requirements mostly for Glibc.  But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter.  In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).

Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!

So the most strict limitation comes from GCC.  GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed.  And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.

And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs.  They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
appendices
bootscripts
chapter01 Package updates and fixes. 2022-02-15 09:55:45 -06:00
chapter02 relax host system requirements 2022-02-19 10:29:47 +08:00
chapter03 Typo 2022-02-15 19:52:28 -06:00
chapter04
chapter05 relax host system requirements 2022-02-19 10:29:47 +08:00
chapter06
chapter07 Spelling/Typos 2022-02-18 14:49:40 -06:00
chapter08 short description should not end with "." 2022-02-18 14:03:51 +08:00
chapter09 Spelling/Typos 2022-02-18 14:49:40 -06:00
chapter10
chapter11
images
part3intro Fix a missing space 2022-02-11 18:29:12 +01:00
prologue Spelling/Typos 2022-02-18 14:49:40 -06:00
stylesheets
udev-lfs
.gitignore
aux-file-data.sh
general.ent
git-version.sh
index.xml
INSTALL
lfs-latest-git.php
lfs-latest.php
make-aux-files.sh
Makefile
obfuscate.sh
packages.ent expect: fix library name in description, and remove unused expect-lib-version 2022-02-17 19:39:07 +08:00
patches.ent Package updates and fixes. 2022-02-15 09:55:45 -06:00
pdf-fixups.sh
process-scripts.sh
README
tidy.conf

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software.  If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks

XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output

XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf