On 4/1/19 1:21 PM, thomas via lfs-dev wrote:
Hi all,
the multilib branch has been created. A multilib enabled system may be
required if you have to use proprietary printer drivers which are
available in 32bit only (in my case a Dell laser printer driver) or for
running any other 32bit software where no sources are provided to
recompile it to 64bit.
To render the book including the multilib extensions, just issue
$ make ARCH=multilib [REV=sysv]
which will render the sysv version including the ML stuff, for systemd do
$ make ARCH=multilib REV=systemd
The multilib extension makes sence only on 64bit architectures. The
extensions are to build gcc enabled building 32bit binaries, glibc 32bit
and several other packages in 32 bit and x32 bit which are required for
some other BLFS packages which may also required to be built in 32bit
mode. For the printer driver that is for example lib32-nettle.
While developing the book to appear in the state it is now, some new
packages are added (isl, linux-firmware). Both are not really required
for building ML, but it looked to be useful to the developers.
A proof-of-concept has been made, i used the instructions of the ML book
(and some tweaked instructions of some BLFS packages) to build
VirtualBox (which requires multilib support) from source and run a
strange old OS in a VM in it.
I hope some of you may find that stuff useful. I'm pretty sure that
there are typos and - more critical - technical bugs in it; I hope you
will report as many as possible ;-)
At this moment, i want to add that all the work is not made by my own.
Especially, DJ helped a very lot by providing many
inputs/tweaks/fixes/enhancements.
I did update my version of the LFS code and built the book.
This is an interesting project, but I'd like to make a suggestion.
There should be a section in the Preface or Chapter 1 "About the
Multilib Edition" or similar. This should explain the purpose and, in
general, what the differences are between this edition and a "Pure 64"
version of the book.
I do see a file named chapter06/glibc-32.xml, Looking at that page,
there seems to be insufficient information about what the instructions
are doing. What is the differnece between
6.11.1. Installation of Glibc - 32-bit
and
6.11.2. Glibc - x32-bit
Overall I think the differences in this version of the book is adding
some 32-bit libraries and putting them in libx32/, but this needs to be
spelled out better.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page