From 0476250c0a7952489f16b8df9395a34cfee2d8b9 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 11 Jul 2001 19:33:02 +0000 Subject: No need to cd into gcc-3.0, the user is supposed to be already in gcc-3.0 per instructions in chapter 2 also, we then don't have to force using a cd $LFS/usr/gcc-build but we can use a relative patch ../gcc-build git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-inst.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index d78298cc4..066f8195f 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -7,10 +7,9 @@ Install GCC by running the following commands: -cd $LFS/usr/src/gcc-&gcc-version; && patch -Np1 -i ../gcc-&gcc-version;.patch && -mkdir $LFS/usr/src/gcc-build && -cd $LFS/usr/src/gcc-build && +mkdir ../gcc-build && +cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr \    --enable-languages=c,c++ --disable-nls \    --disable-shared && -- cgit v1.2.3-54-g00ecf