瀏覽代碼

Add gold linker to ch6 binutils build, restore chapter 5 bison.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11178 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
DJ Lucas 8 年之前
父節點
當前提交
e1230252d6
共有 5 個文件被更改,包括 41 次插入8 次删除
  1. 13 0
      chapter01/changelog.xml
  2. 1 0
      chapter05/chapter05.xml
  3. 22 5
      chapter06/binutils.xml
  4. 3 3
      general.ent
  5. 2 0
      packages.ent

+ 13 - 0
chapter01/changelog.xml

@@ -42,6 +42,19 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
 -->
+    <listitem>
+      <para>2017-02-08</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dj] - Restore chapter 5 build of bison for binutils.</para>
+        </listitem>
+        <listitem>
+          <para>[dj] - Build gold linker with binutils. The bfd linker remains
+          default.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2017-02-07</para>
       <itemizedlist>

+ 1 - 0
chapter05/chapter05.xml

@@ -27,6 +27,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>

+ 22 - 5
chapter06/binutils.xml

@@ -65,15 +65,32 @@ cd       build</userinput></screen>
 
     <para>Prepare Binutils for compilation:</para>
 
-<screen><userinput remap="configure">../configure --prefix=/usr    \
-             --enable-plugins \
-             --enable-shared  \
-             --disable-werror \
+<screen><userinput remap="configure">../configure --prefix=/usr       \
+             --enable-gold       \
+             --enable-ld=default \
+             --enable-plugins    \
+             --enable-shared     \
+             --disable-werror    \
              --with-system-zlib</userinput></screen>
-
     <variablelist>
       <title>The meaning of the configure parameters:</title>
 
+      <varlistentry>
+        <term><parameter>--enable-gold</parameter></term>
+        <listitem>
+          <para>Build the gold linker and install it as ld.gold (along side the
+          default linker).</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--enable-ld=default</parameter></term>
+        <listitem>
+          <para>Build the original bdf linker and install it as both ld (the
+          default linker) and ld.bfd.</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><parameter>--enable-plugins</parameter></term>
         <listitem>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20170207">
+<!ENTITY version         "SVN-20170208">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20170207-systemd">
+<!ENTITY versiond        "20170208-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "February 7, 2016">
+<!ENTITY releasedate     "February 8, 2016">
 <!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.0">
 

+ 2 - 0
packages.ent

@@ -75,6 +75,8 @@
 <!ENTITY bison-url "&gnu;bison/bison-&bison-version;.tar.xz">
 <!ENTITY bison-md5 "c342201de104cc9ce0a21e0ad10d4021">
 <!ENTITY bison-home "&gnu-software;bison/">
+<!ENTITY bison-ch5-du "32 MB">
+<!ENTITY bison-ch5-sbu "0.3 SBU">
 <!ENTITY bison-ch6-du "32 MB">
 <!ENTITY bison-ch6-sbu "0.3 SBU">