1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="pre-architecture">
|
---|
9 | <?dbhtml filename="architecture.html"?>
|
---|
10 |
|
---|
11 | <title>LFS Target Architectures</title>
|
---|
12 |
|
---|
13 | <para>The primary target architectures of this LFS edition are LoongArch
|
---|
14 | CPUs.
|
---|
15 | <!--On the other hand, the instructions in this book are
|
---|
16 | also known to work, with some modifications, with the Power PC and ARM
|
---|
17 | CPUs. -->
|
---|
18 | To build a system that utilizes one of these CPUs, the main prerequisite, in
|
---|
19 | addition to those on the next page, is an existing Linux system such as an
|
---|
20 | earlier LFS installation, Loong Arch Linux, CLFS for LoongArch, Gentoo,
|
---|
21 | Slackware, or other distribution that targets LoongArch.</para>
|
---|
22 |
|
---|
23 | <para>The build that results from this LFS edition is a
|
---|
24 | <quote>pure</quote> lp64d system. That is, it supports executables with
|
---|
25 | the lp64d ABI
|
---|
26 | only. Building a <quote>multi-lib</quote> system requires compiling many
|
---|
27 | applications multiple times, once for each ABI to be supported.
|
---|
28 | This is not directly supported in LFS because it would interfere with the
|
---|
29 | educational objective of providing the minimal instructions needed for a
|
---|
30 | basic Linux system. Some of the LFS/BLFS editors maintain a multilib fork
|
---|
31 | of LFS, accessible at <ulink
|
---|
32 | url="https://www.linuxfromscratch.org/~thomas/multilib/index.html"/>. But
|
---|
33 | the multilib edition is for x86_64, and multilib is an advanced topic
|
---|
34 | anyway.</para>
|
---|
35 |
|
---|
36 | </sect1>
|
---|