diff options
-rw-r--r-- | chapter06/gcc.xml | 13 | ||||
-rw-r--r-- | chapter06/glibc.xml | 11 |
2 files changed, 8 insertions, 16 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 76f9b8b4d..a418f43a7 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -70,7 +70,8 @@ cd ../gcc-build</userinput></screen> <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 @@ cd ../gcc-build</userinput></screen> <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> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 6d2ba0d12..d6fa9ad34 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -77,8 +77,7 @@ cd ../glibc-build</userinput></screen> <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 @@ cd ../glibc-build</userinput></screen> <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 |