[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[8988b94] | 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 |
|
---|
[ac6e9a3] | 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
|
---|
[394dc3fc] | 19 | addition to those on the next page, is an existing Linux system such as an
|
---|
[ac6e9a3] | 20 | earlier LFS installation, Loong Arch Linux, CLFS for LoongArch, Gentoo,
|
---|
| 21 | Slackware, or other distribution that targets LoongArch.</para>
|
---|
[c6d5b092] | 22 |
|
---|
[ac6e9a3] | 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
|
---|
[394dc3fc] | 26 | only. Building a <quote>multi-lib</quote> system requires compiling many
|
---|
[ac6e9a3] | 27 | applications multiple times, once for each ABI to be supported.
|
---|
[394dc3fc] | 28 | This is not directly supported in LFS because it would interfere with the
|
---|
[7739ad3] | 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
|
---|
[ac6e9a3] | 33 | the multilib edition is for x86_64, and multilib is an advanced topic
|
---|
| 34 | anyway.</para>
|
---|
[8988b94] | 35 |
|
---|
| 36 | </sect1>
|
---|