2024-04-17 23:03:42 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="achievingml" xreflabel="Achieving Multilib">
|
|
|
|
<?dbhtml filename="achievingml.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Achieving Multilib</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
On many distros, getting multilib support is very straight
|
|
|
|
forward. There exists a guide that can act as a replacement
|
|
|
|
for LFS: compiling and configuring a system that can boot,
|
|
|
|
run, and compile software; and also have that same ability
|
|
|
|
with 32-bit. It acts to form the basis that will allow you
|
|
|
|
to follow any of the instructions laid out in the Steam
|
|
|
|
and Wine chapters.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Such a guide is maintained by Thomas Trepl at
|
|
|
|
<ulink url="https://www.&lfs-domainname;/~thomas/multilib/"/>.
|
|
|
|
It is very comprehensive and also covers how to get x32-bit
|
2024-07-26 11:11:56 +08:00
|
|
|
support, a format that can run 64-bit code with 32-bit registers.
|
|
|
|
That format is unnecessary. Most applications that are covered here
|
2024-04-17 23:03:42 +08:00
|
|
|
either don't: support it, require it, or is simply not necessary
|
2024-07-26 11:11:56 +08:00
|
|
|
to compile for any sort of interest. Therefore, any mention
|
2024-04-17 23:03:42 +08:00
|
|
|
of x32-bit, x32, mx32, and x32-bit instructions can be skipped.
|
2024-07-26 11:11:56 +08:00
|
|
|
Most users will not need it and the extra support in compilers
|
|
|
|
and libraries on the system will be useless, taking up disk space.
|
2024-04-17 23:03:42 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The same principles of compiling for 32-bit in that book will also
|
|
|
|
apply to this book as well. If you haven't already, read
|
|
|
|
<xref linkend="important"/>
|
|
|
|
to check what basic principles still apply in this book when targeting
|
|
|
|
32-bit.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect1>
|