aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 765f5b875..93b6a2229 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -83,7 +83,7 @@ cd build</userinput></screen>
<screen><userinput remap="configure">../configure \
--target=$LFS_TGT \
--prefix=$LFS/tools \
- --with-glibc-version=2.11 \
+ --with-glibc-version=&glibc-version; \
--with-sysroot=$LFS \
--with-newlib \
--without-headers \
@@ -104,11 +104,14 @@ cd build</userinput></screen>
<title>The meaning of the configure options:</title>
<varlistentry>
- <term><parameter>--with-glibc-version=2.11</parameter></term>
+ <term><parameter>--with-glibc-version=&glibc-version;</parameter></term>
<listitem>
- <para>This option ensures the package will be compatible with the host's
- version of glibc. It is set to the minimum glibc requirement
- specified in the <xref linkend="ch-partitioning-hostreqs"/>.</para>
+ <para>This option specifies the version of glibc which will be
+ used on the target. It is not relevent to the minimum glibc
+ requirement specified in the
+ <xref linkend="ch-partitioning-hostreqs"/> because everything
+ compiled by pass1 gcc will run in the chroot environment,
+ which is isolated from glibc of the host distro.</para>
</listitem>
</varlistentry>