aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-15 20:45:13 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-15 20:45:13 +0000
commitb0a4c9a47dadc3ab2c37a034866cb542f3fffa0b (patch)
treefb6d77a8ace59cc4de2eec8cfb96a5cd29983fa1 /chapter06
parent232aa7359d4f119b062bf270e19e8a4c1d2228a0 (diff)
Upgrade to GCC-4.2.1. Fixes #2002. Merged from jh branch, thanks to Matthew Burgess for preparing a discrete patch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8374 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc.xml3
-rw-r--r--chapter06/perl.xml4
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index ff6a76116..229c56398 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -83,7 +83,8 @@ cd ../gcc-build</userinput></screen>
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
- --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
+ --enable-clocale=gnu --enable-languages=c,c++ \
+ --disable-bootstrap</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 591e90ba8..77d027b89 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -47,6 +47,10 @@
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+ <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>sed -i 's/command /command[ -]/' makedepend.SH</userinput></screen>
+
<para>To have full control over the way Perl is set up, you can run the
interactive <command>Configure</command> script and hand-pick the way this
package is built. If you prefer, you can use the defaults that Perl