On 08/14/2018 05:54 AM, Thomas Trepl wrote:
Hi,
for those who are interested in doing {,B}LFS with multilib support,
here is a patch on the LFS book adding some instructions to build the
LFS core system with multilib support.
<snip>
Updates to this based on Thomas's work at https://io.ax.lt/. This is
still very much experimental but coming together nicely. I've been
working on jhalfs support. I also have a current patch for trunk (also
for Thomas's branch to allow building with jhalfs) and rendered copies
for both sysv and systemd in my homedir if anybody would like to take a
look:
http://www.linuxfromscratch.org/~dj/Multilib/
Thomas, when you are available, please note the changes WRT separating
the lib32 and libx32 with separate <sect2>s. This is required for jhalfs
to parse the files correctly. As to the other changes, in additon to
-m32/-mx32, I've tried to ensure that we use appropriate -march flags
where --host is invalid. None of this is tested thoroughly as of yet,
but my ultimate real world goal, in addition to being able to run x86
binaries needed for various tasks, is to be able to build x86 java
without a full x86 LFS build handy. As of now, jhalfs builds to
completion on Systemd. I don't believe that I've made any changes that
would affect SysV, but I haven't tested sysv-multilib just yet.
HTH
--DJ
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page