diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2017-02-08 04:30:34 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2017-02-08 04:30:34 +0000 |
commit | e1230252d648bd91abee8ded67a6d111755844a5 (patch) | |
tree | 564956f2b07a9975b2692d71269aaea9afdcbb4d /chapter06 | |
parent | 218ba5f52232454299c95e181213cb7207c95246 (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/binutils.xml | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index d5d9c27f7..36d303b49 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -65,16 +65,33 @@ 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> <para>Enables plugin support for the linker.</para> |