aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-09 23:10:16 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-09 23:10:16 +0000
commit79524a0c69fd6f6f1fa86086b86d52328af17750 (patch)
tree3d1d7c3a2b92713fa354d9970d302f7ec8d1bdc0 /chapter05/gcc-pass1.xml
parentee714d385e3f3b943e3fa4407847cfdeb8a435f7 (diff)
Text updates for cross2 Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11914 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml33
1 files changed, 21 insertions, 12 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 7db6408c2..2f8145713 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -132,22 +132,39 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--enable-initfini-array</parameter></term>
+ <listitem>
+ <para>This switch forces the use of some internal data structures
+ that are needed but cannot be detected when building a cross
+ compiler.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--disable-shared</parameter></term>
<listitem>
<para>This switch forces GCC to link its internal libraries
- statically. We need this because the shared libraries require glibc,
- which is not yet installed on the target system.</para>
+ statically. We need this because the shared libraries require glibc,
+ which is not yet installed on the target system.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--disable-multilib</parameter></term>
+ <listitem>
+ <para>On x86_64, LFS does not support a multilib configuration.
+ This switch is harmless for x86.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--disable-decimal-float, --disable-threads,
- --disable-libatomic, --disable-libgomp, <!--- -disable-libmpx,-->
+ --disable-libatomic, --disable-libgomp,
--disable-libquadmath, --disable-libssp, --disable-libvtv,
--disable-libstdcxx</parameter></term>
<listitem>
<para>These switches disable support for the decimal floating point
- extension, threading, libatomic, libgomp, <!--libmpx, --> libquadmath, libssp,
+ extension, threading, libatomic, libgomp, libquadmath, libssp,
libvtv, and the C++ standard library respectively. These features
will fail to compile when building a cross-compiler and are not
necessary for the task of cross-compiling the temporary libc.</para>
@@ -155,14 +172,6 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
- <term><parameter>--disable-multilib</parameter></term>
- <listitem>
- <para>On x86_64, LFS does not yet support a multilib configuration.
- This switch is harmless for x86.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><parameter>--enable-languages=c,c++</parameter></term>
<listitem>
<para>This option ensures that only the C and C++ compilers are built.