aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 19:33:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 19:33:02 +0000
commit0476250c0a7952489f16b8df9395a34cfee2d8b9 (patch)
tree6687adf466a5aaf9b43b28be79b729f3e62a2c6f
parentadfe984c94f5a292309d315ab7023d76d20c9bc6 (diff)
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
-rw-r--r--chapter05/gcc-inst.xml5
1 files 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:
<para>
<screen>
-<userinput>cd $LFS/usr/src/gcc-&gcc-version; &amp;&amp;</userinput>
<userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &amp;&amp;</userinput>
-<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
-<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
+<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
+<userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --disable-nls \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--disable-shared &amp;&amp;</userinput>