Author: bdubbs
Date: Wed Jan 15 18:14:55 2014
New Revision: 10445
Log:
Set SED variable in gcc, not glibc
Modified:
trunk/BOOK/chapter06/gcc.xml
trunk/BOOK/chapter06/glibc.xml
Modified: trunk/BOOK/chapter06/gcc.xml
==============================================================================
--- trunk/BOOK/chapter06/gcc.xml Tue Jan 14 14:45:09 2014 (r10444)
+++ trunk/BOOK/chapter06/gcc.xml Wed Jan 15 18:14:55 2014 (r10445)
@@ -70,7 +70,8 @@
<para>Prepare GCC for compilation:</para>
-<screen><userinput remap="configure">../gcc-&gcc-version;/configure
--prefix=/usr \
+<screen><userinput remap="configure">SED=sed
\
+../gcc-&gcc-version;/configure --prefix=/usr \
--libexecdir=/usr/lib \
--enable-shared \
--enable-threads=posix \
@@ -87,15 +88,15 @@
<variablelist>
<title>The meaning of the new configure option:</title>
-<!--
+
<varlistentry>
- <term><parameter>- -disable-install-libiberty</parameter></term>
+ <term><envar>SED=sed</envar></term>
<listitem>
- <para>This prevents GCC from installing its own copy of libiberty,
- which is already provided by Binutils-&binutils-version;.</para>
+ <para>Setting this environment variable prevents a hard-coded
+ path to /tools/bin/sed.</para>
</listitem>
</varlistentry>
--->
+
<varlistentry>
<term><parameter>--with-system-zlib</parameter></term>
<listitem>
Modified: trunk/BOOK/chapter06/glibc.xml
==============================================================================
--- trunk/BOOK/chapter06/glibc.xml Tue Jan 14 14:45:09 2014 (r10444)
+++ trunk/BOOK/chapter06/glibc.xml Wed Jan 15 18:14:55 2014 (r10445)
@@ -77,8 +77,7 @@
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">SED=sed \
-../glibc-&glibc-version;/configure \
+<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
--prefix=/usr \
--disable-profile \
--enable-kernel=&min-kernel; \
@@ -88,14 +87,6 @@
<title>The meaning of the new configure options:</title>
<varlistentry>
- <term><envar>SED=sed</envar></term>
- <listitem>
- <para>Setting this environment variable prevents a hard-coded
- path to /tools/bin/sed.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
<listitem>
<para>This changes the location of some auxillary files from the
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page