aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2005-10-14 23:44:39 +0000
committerKen Moffat <ken@linuxfromscratch.org>2005-10-14 23:44:39 +0000
commit8f192d8dbcb6566a9537979a70b01fd3679fba0f (patch)
tree3e9263555de39e95e1aea73065682cf504459dc0 /chapter05
parent39e8fa12f7ca095f1a2d7390e57ac6a194d13ae5 (diff)
binutils and glibc patches, space/time updates
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7017 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-pass1.xml9
-rw-r--r--chapter05/perl.xml2
2 files changed, 9 insertions, 2 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 634098937..c33a87153 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -17,7 +17,7 @@
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>1.0 SBU</seg><seg>170 MB</seg></seglistitem>
+<seglistitem><seg>1.0 SBU</seg><seg>179 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/binutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
@@ -39,6 +39,13 @@ variables that override default optimizations have been defined, such
as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
unset them when building Binutils.</para>
+<para>If you are building from a host running Gcc-4 or later, it is necessary
+to patch the first build of this version of Binutils so that it can be
+compiled by the host system.</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-gcc4-1.patch
+</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 88a1adc24..309ec6307 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -17,7 +17,7 @@
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>0.8 SBU</seg><seg>79.8 MB</seg></seglistitem>
+<seglistitem><seg>0.8 SBU</seg><seg>81.6 MB</seg></seglistitem>
</segmentedlist>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/perl.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>