From e1230252d648bd91abee8ded67a6d111755844a5 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Wed, 8 Feb 2017 04:30:34 +0000 Subject: 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 --- chapter06/binutils.xml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'chapter06/binutils.xml') diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index d5d9c27f7..36d303b49 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -65,15 +65,32 @@ cd build Prepare Binutils for compilation: -../configure --prefix=/usr \ - --enable-plugins \ - --enable-shared \ - --disable-werror \ +../configure --prefix=/usr \ + --enable-gold \ + --enable-ld=default \ + --enable-plugins \ + --enable-shared \ + --disable-werror \ --with-system-zlib - The meaning of the configure parameters: + + --enable-gold + + Build the gold linker and install it as ld.gold (along side the + default linker). + + + + + --enable-ld=default + + Build the original bdf linker and install it as both ld (the + default linker) and ld.bfd. + + + --enable-plugins -- cgit v1.2.3-54-g00ecf