mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
Set SED variable in gcc, not glibc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7787e7e840
commit
cde2ae7b0f
@ -70,7 +70,8 @@ cd ../gcc-build</userinput></screen>
|
|||||||
|
|
||||||
<para>Prepare GCC for compilation:</para>
|
<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 \
|
--libexecdir=/usr/lib \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-threads=posix \
|
--enable-threads=posix \
|
||||||
@ -87,15 +88,15 @@ cd ../gcc-build</userinput></screen>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new configure option:</title>
|
<title>The meaning of the new configure option:</title>
|
||||||
<!--
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>- -disable-install-libiberty</parameter></term>
|
<term><envar>SED=sed</envar></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>This prevents GCC from installing its own copy of libiberty,
|
<para>Setting this environment variable prevents a hard-coded
|
||||||
which is already provided by Binutils-&binutils-version;.</para>
|
path to /tools/bin/sed.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
-->
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--with-system-zlib</parameter></term>
|
<term><parameter>--with-system-zlib</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -77,8 +77,7 @@ cd ../glibc-build</userinput></screen>
|
|||||||
|
|
||||||
<para>Prepare Glibc for compilation:</para>
|
<para>Prepare Glibc for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">SED=sed \
|
<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
|
||||||
../glibc-&glibc-version;/configure \
|
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-profile \
|
--disable-profile \
|
||||||
--enable-kernel=&min-kernel; \
|
--enable-kernel=&min-kernel; \
|
||||||
@ -87,14 +86,6 @@ cd ../glibc-build</userinput></screen>
|
|||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new configure options:</title>
|
<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>
|
<varlistentry>
|
||||||
<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
|
<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user