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 Add glib2 as an optional dependency of pkg-config 2022-02-10 10:28:23 +01:00
bootscripts Remove spaces at end of lines - bootscripts 2021-09-07 23:01:23 +02:00
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 remove "+h" in bash commands in chroot (#4998) 2022-02-05 20:48:27 +08:00
chapter05 relax host system requirements 2022-02-19 10:29:47 +08:00
chapter06 binutils-pass2: workaround "binaries link to host libraries" issue 2022-02-10 21:05:33 +08:00
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 Fix CVE-2021-3997 in systemd. 2022-01-13 15:16:37 -06:00
chapter11 Make umounting explicit 2021-11-01 12:05:41 -05:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
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 Remove eol spaces in xsl stylesheets 2021-09-07 23:28:43 +02:00
udev-lfs Remove eol spaces 2021-09-07 23:10:29 +02:00
.gitignore Update currency to use https everywhere 2021-11-08 10:14:24 -06:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
general.ent Set general.ent for development 2021-09-22 23:28:01 +02:00
git-version.sh Package updates. 2021-12-31 07:10:48 -06:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL Remove eol spaces 2021-09-07 23:05:44 +02:00
lfs-latest-git.php Fix currency for tcl 2022-02-04 13:29:55 -06:00
lfs-latest.php Remove eol spaces 2021-09-07 23:10:29 +02:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile Add a conditional entity for sysv/systemd 2021-09-22 23:11:52 +02:00
obfuscate.sh Added a versose flag and other fixes to the Makefile. 2007-07-06 17:54:18 +00:00
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 Remove eol spaces 2021-09-07 23:10:29 +02:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
tidy.conf Adjust tidy.conf for recent version 2018-09-04 16:33:51 +00:00

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