Changeset 61ce0b1 for chapter06/binutils.xml
- Timestamp:
- 06/14/2014 07:51:45 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- c09761a
- Parents:
- 6f34f43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils.xml
r6f34f43 r61ce0b1 65 65 sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen> 66 66 67 <para>Add an upstream patch to use gcc's link time optimization (LTO) 68 the default:</para> 69 70 <screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen> 71 67 72 <para>The Binutils documentation recommends building Binutils outside of the 68 73 source directory in a dedicated build directory:</para> … … 73 78 <para>Prepare Binutils for compilation:</para> 74 79 75 <screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen> 80 <screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr \ 81 --enable-shared \ 82 --disable-werror</userinput></screen> 76 83 77 84 <para>Compile the package:</para> … … 110 117 <screen><userinput remap="test">make check</userinput></screen> 111 118 119 <para>Six tests in the lto.exp testsuite are known to fail due 120 to changes in the most recent version of gcc.</para> 121 112 122 <para>Install the package:</para> 113 123 114 124 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> 115 <!-- 116 <para>Install the <filename class="headerfile">libiberty</filename> header 117 file that is needed by some packages:</para> 118 119 <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen> 120 --> 125 121 126 </sect2> 122 123 127 124 128 <sect2 id="contents-binutils" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.