diff options
-rw-r--r-- | chapter05/gcc-inst.xml | 5 |
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; &&</userinput> <userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &&</userinput> -<userinput>mkdir $LFS/usr/src/gcc-build &&</userinput> -<userinput>cd $LFS/usr/src/gcc-build &&</userinput> +<userinput>mkdir ../gcc-build &&</userinput> +<userinput>cd ../gcc-build &&</userinput> <userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> <userinput> --enable-languages=c,c++ --disable-nls \</userinput> <userinput> --disable-shared &&</userinput> |