Changeset 384c707


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

Add more info about kernel requirements for multilib

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    ra150e738 r384c707  
    174174
    175175<screen arch="ml_32">Binary Emulations  ---&gt;
    176     [*] IA32 Emulation
    177     &lt;M&gt;   IA32 a.out support
     176    [*] IA32 Emulation [CONFIG_IA32_EMULATION]
     177    &lt;M&gt;   IA32 a.out support [CONFIG_IA32_AOUT]
    178178</screen>
    179179<screen arch="ml_x32">Binary Emulations  ---&gt;
    180     [*] x32 ABI for 64-bit mode
     180    [*] x32 ABI for 64-bit mode [CONFIG_X86_X32]
    181181</screen>
    182182<screen arch="ml_all">Binary Emulations  ---&gt;
    183     [*] IA32 Emulation
    184     &lt;M&gt;   IA32 a.out support
    185     [*] x32 ABI for 64-bit mode
     183    [*] IA32 Emulation [CONFIG_IA32_EMULATION]
     184    &lt;M&gt;   IA32 a.out support [CONFIG_IA32_AOUT]
     185    [*] x32 ABI for 64-bit mode [CONFIG_X86_X32]
    186186</screen>
    187 
    188187    </note>
    189188   
  • 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.