mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00: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>
|
||||
|
||||
<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>
|
||||
|
@ -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; \
|
||||
@ -87,14 +86,6 @@ cd ../glibc-build</userinput></screen>
|
||||
<variablelist>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user