I. Preparatory work
1.
I. LFS TARGET architecture
LFS's primary target architecture is Intel's 32-bit architecture. The 32-bit computer architecture is the most widely supported Linux system, while the 32 architecture enables open source and non-open source software to work harmoniously.
In order to build the system, the prerequisite is that, in addition to the requirements mentioned later, you need to have an existing Linux system, such as Ubuntu, Red Hat/fedora
or other Linux distribution systems for the 32 architecture. It should also be noted that a 32-bit release is available for installation on a 64-bit Amd/intel computer.
The default 64-bit system built from LFS is considered a "pure" 64 system. That means it only supports 64-bit applications. A system that builds a "multi-link library" needs to compile many programs two times,
One was compiled for 32-bit systems, and the other was compiled for a 64-bit system. There are many packages that cannot be compiled correctly on "pure" 64-bit systems, or they require special instructions to compile,
Often these packages have embedded components with 32-bit features so that they will fail if they are compiled on a "pure" 64-bit system.
Linux from Scratch (build Linux system from scratch, abbreviated as LFS)