Changeset 384c707
- Timestamp:
- 11/09/2021 01:43:34 PM (23 months ago)
- Branches:
- multilib
- Children:
- a9fea2f
- Parents:
- a150e738
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/kernel.xml
ra150e738 r384c707 174 174 175 175 <screen arch="ml_32">Binary Emulations ---> 176 [*] IA32 Emulation 177 <M> IA32 a.out support 176 [*] IA32 Emulation [CONFIG_IA32_EMULATION] 177 <M> IA32 a.out support [CONFIG_IA32_AOUT] 178 178 </screen> 179 179 <screen arch="ml_x32">Binary Emulations ---> 180 [*] x32 ABI for 64-bit mode 180 [*] x32 ABI for 64-bit mode [CONFIG_X86_X32] 181 181 </screen> 182 182 <screen arch="ml_all">Binary Emulations ---> 183 [*] IA32 Emulation 184 <M> IA32 a.out support 185 [*] x32 ABI for 64-bit mode 183 [*] IA32 Emulation [CONFIG_IA32_EMULATION] 184 <M> IA32 a.out support [CONFIG_IA32_AOUT] 185 [*] x32 ABI for 64-bit mode [CONFIG_X86_X32] 186 186 </screen> 187 188 187 </note> 189 188 -
prologue/multilib.xml
ra150e738 r384c707 86 86 requirements: 87 87 <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(){}' > dummy.c 104 gcc -m32 dummy.c 105 ./a.out 106 107 gcc -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> 89 118 <listitem><para>you already have some experience with LFS</para></listitem> 90 119 <listitem><para>you have a need for 32-bit support</para></listitem>
Note:
See TracChangeset
for help on using the changeset viewer.