From b0a4c9a47dadc3ab2c37a034866cb542f3fffa0b Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Sat, 15 Sep 2007 20:45:13 +0000 Subject: 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 --- chapter06/gcc.xml | 3 ++- chapter06/perl.xml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'chapter06') 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 ../gcc-&gcc-version;/configure --prefix=/usr \ --libexecdir=/usr/lib --enable-shared \ --enable-threads=posix --enable-__cxa_atexit \ - --enable-clocale=gnu --enable-languages=c,c++ + --enable-clocale=gnu --enable-languages=c,c++ \ + --disable-bootstrap Compile the package: 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 @@ echo "127.0.0.1 localhost $(hostname)" > /etc/hosts + Fix an incompatibility with gcc-&gcc-version;: + +sed -i 's/command /command[ -]/' makedepend.SH + To have full control over the way Perl is set up, you can run the interactive Configure script and hand-pick the way this package is built. If you prefer, you can use the defaults that Perl -- cgit v1.2.3-54-g00ecf