diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/automake.xml | 4 | ||||
-rw-r--r-- | chapter06/binutils.xml | 11 | ||||
-rw-r--r-- | chapter06/e2fsprogs.xml | 6 | ||||
-rw-r--r-- | chapter06/gcc.xml | 26 |
4 files changed, 25 insertions, 22 deletions
diff --git a/chapter06/automake.xml b/chapter06/automake.xml index bf48527a1..64323dfe7 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -41,10 +41,6 @@ <sect2 role="installation"> <title>Installation of Automake</title> - <para>Fix an intermittent test failure:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&automake-test-patch;</userinput></screen> - <para>Prepare Automake for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen> diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index a82f96c5c..d54cbe45e 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -112,13 +112,12 @@ cd ../binutils-build</userinput></screen> <para>Install the package:</para> <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> - +<!-- <para>Install the <filename class="headerfile">libiberty</filename> header file that is needed by some packages:</para> -<!-- <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> --> <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> - +--> </sect2> @@ -133,7 +132,7 @@ cd ../binutils-build</userinput></screen> <seglistitem> <seg>addr2line, ar, as, c++filt, elfedit, gprof, ld, ld.bfd, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip</seg> - <seg>libiberty.a, libbfd.{a,so}, and libopcodes.{a,so}</seg> + <seg><!--libiberty.a,--> libbfd.{a,so}, and libopcodes.{a,so}</seg> <seg>/usr/lib/ldscripts</seg> </seglistitem> </segmentedlist> @@ -319,7 +318,7 @@ cd ../binutils-build</userinput></screen> </indexterm> </listitem> </varlistentry> - +<!-- <varlistentry id="libiberty"> <term><filename class="libraryfile">libiberty</filename></term> <listitem> @@ -332,7 +331,7 @@ cd ../binutils-build</userinput></screen> </indexterm> </listitem> </varlistentry> - +--> <varlistentry id="libbfd"> <term><filename class="libraryfile">libbfd</filename></term> <listitem> diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 8d5cdc076..6efb07619 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -44,10 +44,6 @@ <sect2 role="installation"> <title>Installation of E2fsprogs</title> - <para>First, fix a regression test:</para> - -<screen><userinput remap="pre">sed -i -e 's/mke2fs/$MKE2FS/' -e 's/debugfs/$DEBUGFS/' tests/f_extent_oobounds/script</userinput></screen> - <para>The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree: </para> @@ -172,7 +168,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userin mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, resize2fs, and tune2fs</seg> <seg>libcom_err.{a,so}, libe2p.{a,so}, libext2fs.{a,so}, - libquota.a and libss.{a,so}</seg> + libquota.a, and libss.{a,so}</seg> <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs, /usr/include/quota, /usr/include/ss, /usr/share/et, /usr/share/ss</seg> </seglistitem> 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> |