diff options
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r-- | chapter06/gcc.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 34cff2785..76f9b8b4d 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -49,13 +49,13 @@ <screen><userinput remap="pre">case `uname -m` in i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; esac</userinput></screen> - +<!-- <para>Workaround a bug so that GCC doesn't install <filename class="libraryfile">libiberty.a</filename>, which is already provided by Binutils:</para> <screen><userinput remap="pre">sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen> - +--> <para>Also fix an error in one of the check Makefiles and disable one test in the g++ libmudflap test suite:</para> @@ -79,7 +79,6 @@ cd ../gcc-build</userinput></screen> --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ - --disable-install-libiberty \ --with-system-zlib</userinput></screen> <para>Note that for other languages, there are some prerequisites that @@ -88,15 +87,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><parameter>- -disable-install-libiberty</parameter></term> <listitem> <para>This prevents GCC from installing its own copy of libiberty, which is already provided by Binutils-&binutils-version;.</para> </listitem> </varlistentry> - +--> <varlistentry> <term><parameter>--with-system-zlib</parameter></term> <listitem> @@ -315,7 +314,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen> gcc-ar, gcc-nm, gcc-ranlib, and gcov</seg> <seg>libasan.{a,so}, libatomic.{a,so}, libgcc.a, libgcc_eh.a, - libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so}, + libgcc_s.so, libgcov.a, libgomp.{a,so}, libiberty.a, libitm.{a,so}, liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so}, libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a, libstdc++.{a,so}, libsupc++.a and libtsan.{a,so}</seg> @@ -472,6 +471,19 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen> </listitem> </varlistentry> + <varlistentry id="libiberty"> + <term><filename class="libraryfile">libiberty</filename></term> + <listitem> + <para>Contains routines used by various GNU programs, including + <command>getopt</command>, <command>obstack</command>, + <command>strerror</command>, <command>strtol</command>, and + <command>strtoul</command></para> + <indexterm zone="ch-system-gcc libiberty"> + <primary sortas="c-libiberty">libiberty</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="liblto_plugin"> <term><filename class="libraryfile">liblto_plugin</filename></term> <listitem> |