aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml27
1 files changed, 5 insertions, 22 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index a9c8fa16c..952e3cca7 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -58,8 +58,8 @@ cd build</userinput></screen>
<para>Prepare GCC for compilation:</para>
-<screen><userinput remap="configure">SED=sed \
-../configure --prefix=/usr \
+<screen><userinput remap="configure">../configure --prefix=/usr \
+ LD=ld \
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
@@ -71,26 +71,9 @@ cd build</userinput></screen>
for instructions on how to build all of GCC's supported languages.</para>
<variablelist>
- <title>The meaning of the new configure parameters:</title>
+ <title>The meaning of the new configure parameter:</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>- -disable-libmpx</parameter></term>
- <listitem>
- <para>This switch tells GCC to not build mpx (Memory Protection
- Extensions) that can cause problems on some processors. It has
- been removed from the next version of gcc.</para>
- </listitem>
- </varlistentry>
- -->
- <varlistentry>
<term><parameter>--with-system-zlib</parameter></term>
<listitem>
<para>This switch tells GCC to link to the system installed copy of
@@ -170,12 +153,12 @@ rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</useri
for "historical" reasons.</para>
<screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen>
-
+ <!-- already done earlier
<para>Many packages use the name <command>cc</command> to call the C
compiler. To satisfy those packages, create a symlink:</para>
<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
-
+ -->
<para>Add a compatibility symlink to enable building programs with
Link Time Optimization (LTO):</para>