Ignore:
Timestamp:
11/09/2021 01:43:34 PM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
a9fea2f
Parents:
a150e738
Message:

Add more info about kernel requirements for multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prologue/multilib.xml

    ra150e738 r384c707  
    8686      requirements:
    8787      <itemizedlist>
    88         <listitem><para>you have a x86_64 compatible machine</para></listitem>
     88        <listitem>
     89          <para>you have a x86_64 compatible machine</para>
     90          <note><para>
     91            If you have access to the kernel config for your system,
     92            you will need to have
     93            <parameter>CONFIG_IA32_EMULATION=y</parameter>
     94            set in order to build for <parameter>m32</parameter> and
     95            <parameter>CONFIG_X86_X32=y</parameter> set in order to
     96            build for <parameter>mx32</parameter>.
     97          </para>
     98          <para>
     99           If you do not have access to the kernel config for your system,
     100            you may be able to test for compatability by running the
     101            following commands:
     102          </para>
     103<screen><userinput>echo 'int main(){}' &gt; dummy.c
     104gcc -m32 dummy.c
     105./a.out
     106
     107gcc -mx32 dummy.c
     108./a.out</userinput></screen>
     109          <para>
     110            If either of the <command>./a.out</command> commands results in an
     111            "Exec format error" message, then you do not have a system kernel
     112            capable of building for that architecture within LFS, and so you
     113            should probably look to build an LFS system without Multilib, but
     114            with the required kernel capabilities, and use that to build a
     115            Multilib system.
     116          </para></note>
     117        </listitem>
    89118        <listitem><para>you already have some experience with LFS</para></listitem>
    90119        <listitem><para>you have a need for 32-bit support</para></listitem>
Note: See TracChangeset for help on using the changeset viewer.