aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 19:34:09 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 19:34:09 +0000
commit0dd74bdc458be0fab526270b760cfddca8d29193 (patch)
tree45d7951b4cbcc1faaf6d758df7d0db258395a472
parent0476250c0a7952489f16b8df9395a34cfee2d8b9 (diff)
Per chap2 the user is already in gcc-3.0, so we can use a relative
directory of ../gcc-build to mkdir it and cd into it. And it's also more friendly for people who don't use /usr/src/ to build packages in git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@789 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/gcc-inst.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 15e03c85f..c4d77b0af 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -17,8 +17,8 @@ who actively work on LFS.
<para>
<screen>
-<userinput>mkdir /usr/src/gcc-build &amp;&amp;</userinput>
-<userinput>cd /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;--with-slibdir=/lib --enable-shared \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ &amp;&amp;</userinput>